<p>Here was my problem:<br>
I store my music in a lossless format (flac), but may inexpensive UPNP clients understand MP3 only.</p>
<p>Which left me with a few options:<br>
1. Convert my entire music collection to MP3 (never!)<br>
2. make another copy of my music collection in MP3, served by some other UPNP server (ugg)<br>
3. Find a better solution</p>
<p>3 was the obvious choice…<br>
So, I ended up using MP3FS to "expose" my music collection as mp3s in a
separate directory on my server without taking up extra disk space.<br>
Next, I created a patch for the UPNP server in myth to be able to
select which format to send based on the IP address of the UPNP client.</p>
<p>So, to use this functionality:<br>
1. Install/setup MP3FS (brilliant!) <a href="http://mp3fs.sourceforge.net/">http://mp3fs.sourceforge.net/</a> (or create your own alternate directory structure)<a href="http://mp3fs.sourceforge.net/"></a><br>
2. Apply patch<br>
3. Add the following settings to the settings database:<br>
a. UpnpAltMusicHosts= a comma seperated list of the UPNP client IPs that need MP3 format (ex: <a href="http://192.168.1.132">192.168.1.132</a>,192.168.149)<br>
b. UpnpAltMusicLocation= the directory where MP3FS is set to (ex: /var/local/media/musicmp3256)<br>
c. UpnpNormalMusicExtension= the "regular" file extension of you music files (flac for me)</p>
Here are the patches:<br>
Myth head (rev 13718): trac #3639<a href="http://svn.mythtv.org/trac/ticket/3639"> http://svn.mythtv.org/trac/ticket/3639</a><br>Myth 20 fixes branch patch: <a href="http://davetech.wordpress.com/2007/06/19/mythtv-upnp-enhancement/">
http://davetech.wordpress.com/2007/06/19/mythtv-upnp-enhancement/</a><br><br>Hope others find this useful.<br>Dave<br>