Opened 10 years ago

Closed 8 years ago

#3639 closed enhancement (wontfix)

Alternate music dir for upnp clients

Reported by: anonymous Owned by: dblain
Priority: minor Milestone: unknown
Component: MythTV - UPnP Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


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:

  1. Create your alternate music directory (MP3FS-
  1. Apply my patch to mythtv
  1. Add the following settings to the settings database:
  1. UpnpAltMusicHosts?= a comma seperated list of the UPNP client IPs that need MP3 format: ',192.168.149'
  2. UpnpAltMusicLocation?= the directory where MP3FS is set to: '/var/local/media/musicmp3_256'
  3. UpnpNormalMusicExtension?= the "regular" file extension of you music files: 'flac'

Attachments (1)

trunkmp3fs.diff (2.5 KB) - added by dbadia@… 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by dbadia@…


comment:1 Changed 10 years ago by paulh

  • Component changed from mythmusic to upnp
  • Owner changed from ijr to dblain

comment:2 Changed 10 years ago by stuartm

  • Milestone changed from 0.21 to 0.22

comment:3 Changed 9 years ago by Dibblah

  • Status changed from new to assigned

comment:4 Changed 8 years ago by stuartm

  • Milestone changed from 0.22 to unknown

comment:5 Changed 8 years ago by stuartm

  • Component changed from upnp to MythTV - UPnP

comment:6 Changed 8 years ago by robertm

  • Resolution set to wontfix
  • Status changed from assigned to closed

Think this probably isn't the right approach. Let's get MythMusic to using storage groups and teach our uPnP server to handle SGs first.

Add Comment

Modify Ticket

as closed The owner will remain dblain.
The resolution will be deleted. Next status will be 'new'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.