Hiya. I'm trying to write a module to provide a download facility directly from the now showing page. Not a streaming download (via the TyShow plugin for WMP), just a straightforward ordinary download. It's essentially the same functionality as the mfs_stream module, but with a lot less work (about 25 lines of code, and doesn't require a separate server process constantly runninng).
And I've run into a problem:
A URL which finishes with an extension (such as "enterprise.ty") gets caught by the content handling section of the session procedure. So to avoid this, I have to leave the extension off, and this causes a certain (but not unmanagable) amount of confusion in the browser.
On the other hand, if I register a content handler, that doesn't get passed the path. This means that
http://tivo/garbage/ExpireSoon-256.8.png gets treated the same as
http://tivo/img/ExpireSoon-256.8.png. So I have to embed the FSid into the leaf name, such as "1296897.ty" rather than "1296897/Faking It Changed My Life.ty"
It's possible, but may not be desirable, to change the content handler to pass unrecognised extensions on to the action handler, rather than raising a HTTP error. It's also possible, but again, may not be desirable to fix the problem with the path in the content handler (backwards compatibility).
I wouldn't recommend holding up the final release for this however. (And even if somebody does point out the cunning trick I've missed for downloading files, the general problem still applies.) But it'd be quite nice to be able to fix.