I started investigating what it would take to change the FMS SSC interface to allow for re-encoding media files based on properties of the client, specifically including IP address and user-agent.
The idea here is e.g. to serve Ogg to LAN and WAN clients that can support it, decode it to wav for LAN clients that can’t support Ogg, and reencode to MP3 for WAN clients that can’t support Ogg.
Unfortunately, I haven’t found any way of distinguishing iTunes from (say) Rhythmbox. They both report some version of iTunes as the user agent, which may be required to get iTunes to serve anything to you but is damned annoying. Any suggestions?
I’m also curious to know if anyone else has done any work in this direction, or if others are interested at all in this feature.