[mythtv] upnp music again
John Pilkington
J.Pilk at tesco.net
Sat Sep 27 17:24:06 UTC 2014
On 27/09/14 16:49, John Pilkington wrote:
> On 27/09/14 16:21, Paul Harrison wrote:
>> On 27/09/14 15:52, John Pilkington wrote:
>>> On 27/09/14 14:36, John Pilkington wrote:
>>>> On 27/09/14 11:45, Paul Harrison wrote:
>>>>> SELECT * from music_directories;
>>>> +--------------+------+-----------+
>>>> | directory_id | path | parent_id |
>>>> +--------------+------+-----------+
>>>> | 2 | Next | 0 |
>>>> +--------------+------+-----------+
>>>> 1 row in set (0.00 sec)
>>>>
>>>>
>>>> ServiceHost::ProcessRequest: GetMusic : GET /Content/GetMusic?Id=2
>>>> HTTP/1.1
>>>>
>>>> 2014-09-27 14:11:56.461756 E GetFile - Unable to find
>>>> /home/john/Musictest//Next/britainsea_20140610-1359a.mp3.
>>>>
>>>> ... and /home/john/Musictest no longer exists. Same report after
>>>> optimize_mythdb, and after a backend restart. I'll try a reboot later.
>>>>
>>>> File is /home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3
>>>>
>>>> It plays in the frontend; TV 'Cannot read file' but shows the R4
>>>> podcast
>>>> 'Britain at Sea' artwork.
>>>
>>> vlc plays /home/john/MusicSG1//Next/britainsea_20140610-1359a.mp3
>>>
>>> Before I moved to master I didn't have a Music SG and IIRC the music
>>> folder was defined from the frontend; that probably *was*
>>> /home/john/Musictest, which is still being referenced after a reboot.
>>
>>
>> It should be fixed now if you update to current master.
>>
>> Paul H.
>
> OK Paul, thanks. It's building.
>2014-09-27 17:56:33.946577 I ServiceHost::ProcessRequest: GetMusic :
GET /Content/GetMusic?Id=2 HTTP/1.1
2014-09-27 17:56:33.950191 I HTTPRequest::SendResponse( File ) :200 OK
-> 192.168.0.2:
2014-09-27 17:56:33.950215 I SendResponseFile (
/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3 )
2014-09-27 17:56:33.950436 I
HTTPRequest::TestMimeType(/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3)
- type is audio/mpeg
It works, but cuts out after a few minutes. I'll try a few other files.
Here's a bit more log; it might be after a restart.
2014-09-27 18:01:43.034540 I ExtractMethodFromURL(end) : GetMusic :
/Content
2014-09-27 18:01:43.034579 I ServiceHost::ProcessRequest: GetMusic :
GET /Content/GetMusic?Id=2 HTTP/1.1
2014-09-27 18:01:43.037119 I HTTPRequest::SendResponse( File ) :200 OK
-> 192.168.0.2:
2014-09-27 18:01:43.037140 I SendResponseFile (
/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3 )
2014-09-27 18:01:43.037304 I
HTTPRequest::TestMimeType(/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3)
- type is audio/mpeg
2014-09-27 18:01:43.037849 I HTTPRequest::SendResponse( File ) :200 OK
-> 192.168.0.2:
2014-09-27 18:01:43.037867 I SendResponseFile (
/tmp/2-front.jpg.1024x768.jpg )
2014-09-27 18:01:43.037933 I
HTTPRequest::TestMimeType(/tmp/2-front.jpg.1024x768.jpg) - type is
image/jpeg
QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
2014-09-27 18:01:43.075643 I SendResponseFile(
/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3 ) Error: 0 [Success]
2014-09-27 18:01:43.075677 E socket(-1) - Error returned from
SendResponse... Closing connection
2014-09-27 18:01:43.078354 I ExtractMethodFromURL(end) : GetMusic :
/Content
2014-09-27 18:01:43.078380 I ServiceHost::ProcessRequest: GetMusic :
GET /Content/GetMusic?Id=2 HTTP/1.1
2014-09-27 18:01:43.080402 I HTTPRequest::SendResponse( File ) :200 OK
-> 192.168.0.2:
2014-09-27 18:01:43.080421 I SendResponseFile (
/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3 )
2014-09-27 18:01:43.080559 I
HTTPRequest::TestMimeType(/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3)
- type is audio/mpeg
2014-09-27 18:01:43.089982 I SendResponseFile(
/home/john/MusicSG1/Next/britainsea_20140610-1359a.mp3 ) Error: 0 [Success]
2014-09-27 18:01:43.090031 E socket(-1) - Error returned from
SendResponse... Closing connection
2014-09-27 18:01:43.100913 I ExtractMethodFromURL(end) : GetMusic :
/Content
2014-09-27 18:01:43.100956 I ServiceHost::ProcessRequest: GetMusic :
GET /Content/GetMusic?Id=2 HTTP/1.1
More information about the mythtv-dev
mailing list