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

John Pilkington J.Pilk at tesco.net
Mon Jul 7 21:20:12 UTC 2014


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.

In my test setup I have only 3 'Music' mp3 files.  They don't have much 
metadata but their files are correctly identified in the Media Server 
menu, with correct durations.  On attempting to play one, the upnp log 
shows:
===============
2014-07-07 21:14:29.069933 I  UPnpCDS::HandleBrowse ObjectID=Music/0, 
ContainerId=
2014-07-07 21:14:29.069958 I  UPNP Browse : Searching for : RecTv  / 
ObjectID : Music/0
2014-07-07 21:14:29.069975 I  UPnpCDSTv::IsBrowseRequestForUs - Not 
sure... Calling base class.
2014-07-07 21:14:29.069990 I  UPNP Browse : Searching for : Music  / 
ObjectID : Music/0
2014-07-07 21:14:29.070002 I  UPnpCDSMusic::IsBrowseRequestForUs - Not 
sure... Calling base class.
2014-07-07 21:14:29.074725 I  HTTPRequest::SendResponse(xml/html) () 
:200 OK -> 192.168.0.6: 1
2014-07-07 21:14:38.929519 I  HTTPRequest::ParseRequest - Header: 
transferMode.dlna.org: Streaming
2014-07-07 21:14:38.929607 I  ExtractMethodFromURL(end) : GetMusic : 
/Content
2014-07-07 21:14:38.929638 I  ServiceHost::ProcessRequest: GetMusic : 
GET /Content/GetMusic?Id=354 HTTP/1.1

2014-07-07 21:14:38.930799 I  HTTPRequest::FormatFileResponse() - cannot 
find file
2014-07-07 21:14:38.930851 I  HTTPRequest::SendResponse(xml/html) () 
:404 Not Found -> 192.168.0.6: 2
===================
ie, it can't identify /Content/GetMusic?Id=354 HTTP/1.1

That's the first item in the menu.  The second has ?Id=355 and the third 
is ?Id=353

It works in 0.24.3 but I suspect that so much has changed in MythMusic 
that following that track wouldn't be much help.

The 'IsRequestForUs/Not Sure' stuff appears to come from attempts to 
work out whether any of the requests come from a PS3/Xbox/WMP device and 
just serves to clutter things up when I don't have one.

Suggestions welcome; solution preferred :-)

John P


More information about the mythtv-users mailing list