Opened 17 years ago

Closed 14 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

Description

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- http://mp3fs.sourceforge.net/)
  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.1.132,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@… 17 years ago.
patch

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by dbadia@…

Attachment: trunkmp3fs.diff added

patch

comment:1 Changed 17 years ago by paulh

Component: mythmusicupnp
Owner: changed from Isaac Richards to dblain

comment:2 Changed 16 years ago by stuartm

Milestone: 0.210.22

comment:3 Changed 15 years ago by Dibblah

Status: newassigned

comment:4 Changed 15 years ago by stuartm

Milestone: 0.22unknown

comment:5 Changed 15 years ago by stuartm

Component: upnpMythTV - UPnP

comment:6 Changed 14 years ago by robertm

Resolution: wontfix
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.