[mythtv-users] uPnP Music in 0.27.3 - cannot read file

Ludvik Tesar ludvik.tesar at gmail.com
Tue Jul 8 12:50:38 UTC 2014


Hi John,

maybe you could try whether the upnp xml from mythbackend is correct (with the script attached). I think right parameters to get list of all the music could be something like this, if you called it from the same machine where you have backend or replace localhost with the corect hostname:

fetch-mythtv-upnp.sh localhost Music/0

Locate <res/> tags, you will find URLs like : http://host:6543/Content/GetMusic?Id=...
Then you can test whether these URLs work in browser, and if yes, than mythbackend produced right UPnP xml.

Ludvik


John Pilkington <J.Pilk at tesco.net> wrote ..
> On 08/07/14 12:02, Jean-Yves Avenard wrote:
> > On 8 July 2014 07:20, John Pilkington <J.Pilk at tesco.net> wrote:
> >> Hi:  I now have 0.27-3-5-gdbb4ef3 (with patches as described earlier)
> >> installed and running under SL6.  The uPnP breakage of 0.27-2 has gone
> >> (thanks, J-Y) but Music still doesn't play and I don't think the problem is
> >> in the mysteries of the DLNA spec.  It seems to be in the interface with the
> >> Myth music scanner.
> >
> >
> > 0.27.3 has been verified as working with UPnP both videos and music.
> > It is however possible that your UPnP client has cached the data and
> > continue to use the wrong URL/content.
> >
> > On Android, go into Settings > Apps -> [name of app] -> Clear Cache
> > Force it to stop running and restart..
> 
> Thanks;  an interesting thought, but my client is a TV.  I doubt that it 
> has a persistent cache. The list of 'Music' files it displays agrees 
> with 'All tracks' in mythfrontend 'Select Music', including the case 
> when an empty folder has been scanned, but it seems that Myth is not 
> able to identify the file from the (unexpectedly large) reference ID 
> number passed back to it from the TV.
> 
> In these tests I'm going back to the screen that selects the server 
> after I have made any change.  Sometimes I have to do this, because 
> 'Connection to the server failed', but for tests it seems best to do it 
> anyway.
> 
> All this is the same with my myth 0.24.3/CentOS5 box (and the same TV)- 
> including the unexpectedly large ref ID - but from that installation the 
> music plays.  Duration is shown as zero, though.  Ticket #12181 has more 
> info and logs, but the 'current' version was then 0.27.1
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fetch-mythtv-upnp.sh
Type: application/octet-stream
Size: 1303 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140708/094fbce1/attachment.obj>


More information about the mythtv-users mailing list