[mythtv-users] android playback without HLS?

Bill Meek keemllib at gmail.com
Mon Jan 7 01:06:38 UTC 2013


On 01/06/2013 02:26 PM, Brian J. Murrell wrote:
> On 13-01-06 02:59 PM, Bill Meek wrote:
>>
>> I think both those messages are from -v general. You *may* get more info if
>> you do: mythbackend --setverbose upnp and trying your test again.
>
> When selecting a recording the log reports:
>
> Jan  6 15:20:15 pvr mythbackend[12074]: I HttpServer60 httprequest.cpp:1281 (ExtractMethodFromURL) ExtractMethodFromURL(end) : GetRecordingArtwork : /Content
> Jan  6 15:20:15 pvr mythbackend[12074]: I HttpServer60 servicehost.cpp:281 (ProcessRequest) ServiceHost::ProcessRequest: GetRecordingArtwork : GET /Content/GetRecordingArtwork?Inetref=72180&Type=Coverart HTTP/1.1#015
> Jan  6 15:20:15 pvr mythbackend[12074]: E HttpServer60 services/content.cpp:120 (GetImageFile) GetFile - FileName missing.
> Jan  6 15:20:15 pvr mythbackend[12074]: E HttpServer60 servicehost.cpp:134 (Invoke) MethodInfo::Invoke - An Exception Occurred: GetFile - FileName missing.
> Jan  6 15:20:15 pvr mythbackend[12074]: E HttpServer60 servicehost.cpp:405 (ProcessRequest) GetFile - FileName missing.
> Jan  6 15:20:15 pvr mythbackend[12074]: I HttpServer60 httprequest.cpp:241 (SendResponse) HTTPRequest::SendResponse(xml/html) () :500 Internal Server Error -> 10.75.22.177: 1
> Jan  6 15:20:15 pvr mythbackend[12074]: I HttpServer60 httprequest.cpp:1281 (ExtractMethodFromURL) ExtractMethodFromURL(end) : GetRecordingArtwork : /Content
> Jan  6 15:20:15 pvr mythbackend[12074]: I HttpServer60 servicehost.cpp:281 (ProcessRequest) ServiceHost::ProcessRequest: GetRecordingArtwork : GET /Content/GetRecordingArtwork?Inetref=&Type=Banner HTTP/1.1#015
> Jan  6 15:20:15 pvr mythbackend[12074]: E HttpServer60 services/content.cpp:120 (GetImageFile) GetFile - FileName missing.
> Jan  6 15:20:15 pvr mythbackend[12074]: E HttpServer60 servicehost.cpp:134 (Invoke) MethodInfo::Invoke - An Exception Occurred: GetFile - FileName missing.
> Jan  6 15:20:15 pvr mythbackend[12074]: E HttpServer60 servicehost.cpp:405 (ProcessRequest) GetFile - FileName missing.
> Jan  6 15:20:15 pvr mythbackend[12074]: I HttpServer60 httprequest.cpp:241 (SendResponse) HTTPRequest::SendResponse(xml/html) () :500 Internal Server Error -> 10.75.22.177: 1
>
> A packet dump and decode seems to confirm that.  The Android client sends:
>
> GET /Content/GetRecordingArtwork?Inetref=72180&Type=Coverart HTTP/1.1\r\n
> GET /Content/GetRecordingArtwork?Inetref=&Type=Banner HTTP/1.1\r\n

Hi;

Thanks for the log entries and packet dumps.

They print when the Recordings screen is selected. I'd expect a log line
something like this when asking for a recording to play:

   ... ServiceHost::ProcessRequest: AddLiveStream : GET /Content/AddLiveStream?FileName=1021_20121224000000.mpg

When you captured the packets, did you see anything like the GET above after
you clicked on the eyeball to play an episode?

If you didn't, ignore the rest of this (but please respond.)

I have both of those cases, Inetref with no coverart (60 Minutes) and no
Inetref (the Olympics.) While both show up in logs as errors, neither
fires a Null Pointer Exception on my system. They're both valid conditions.

If you got it from the Play Store today, you're running 1.0.4. On my Samsung,
that can be verified in Settings/Applications/MythTV Android Frontend.

I've read you other posts too. At this point, I'd really suggest starting the
backend with --logpath /tmp --loglevel debug -v upnp,system and try to play a
recording then pastebinit /tmp/mythbackend.2013...log and put the link here.

I'm interested in seeing if a filename is received and if mythtranscode is being
started. Also if the Streaming storage group is used, like Dan said. I don't
know if Mythbuntu configures it or relies on the Default storage group.

Some clue in the log may allow your case to be duplicated. Nothing the backend
returns should cause an NPE (obviously.)

And to your configuration question, I'd say --enable-libx264 has to be used.
But that's if you build from source, which doesn't appear to be the case.

As for 'kinda worked "out of the box"', mine does. I can rip out the program
and all the data and be back up in a minute. OK, the guide data takes time to
re download. The configuration suggestions are available from within the app
by pressing Help->FAQ and then the 'properly configured' link on that page.

-- 
Bill


More information about the mythtv-users mailing list