[mythtv-commits] Ticket #3639: Alternate music dir for upnp clients

MythTV mythtv at cvs.mythtv.org
Tue Jun 19 00:07:02 UTC 2007


#3639: Alternate music dir for upnp clients
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |       Owner:  ijr 
     Type:  enhancement  |      Status:  new 
 Priority:  minor        |   Milestone:  0.21
Component:  mythmusic    |     Version:  head
 Severity:  medium       |     Mlocked:  0   
-------------------------+--------------------------------------------------
 My first time submitting a patch, so take it easy on me....

 Here was my problem:
 I store my music in a lossless format (flac), but may inexpensive UPNP
 clients understand MP3 only.  Sure, I could convert my whole collection to
 MP3 (yeah right).

 So, I ended up using MP3FS to "expose" my music collection as mp3s in a
 seperate directory on my server without taking up extra disk space.

 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.  So, to
 use this functionality:[[BR]]

 1. Create your alternate music directory (MP3FS-
 http://mp3fs.sourceforge.net/) [[BR]]

 2. Apply my patch to mythtv [[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: '192.168.1.132,192.168.149'
     b. UpnpAltMusicLocation= the directory where MP3FS is set to:
 '/var/local/media/musicmp3_256'
     c. UpnpNormalMusicExtension= the "regular" file extension of you music
 files: 'flac'

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3639>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list