Kodi Community Forum

Full Version: mythtv playback stops after some seconds
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
21:29:32 T:139891133737232 M:7796654080   ERROR: Read - cmyth read returned error -1
21:29:32 T:139891133737232 M:7796654080   ERROR: Open - error reading from input stream, myth://mythtv:[email protected]/channels/3.ts
21:29:32 T:139891133737232 M:7796830208   ERROR: Read - cmyth read returned error -1
21:29:32 T:139891133737232 M:7796830208   ERROR: Open - error reading from input stream, myth://mythtv:[email protected]/channels/3.ts
21:29:32 T:139891133737232 M:7796830208   ERROR: Read - cmyth read returned error -1
21:29:32 T:139891133737232 M:7796830208   ERROR: Open - error reading from input stream, myth://mythtv:[email protected]/channels/3.ts
21:29:32 T:139891133737232 M:7796830208   ERROR: Read - cmyth read returned error -1
21:29:32 T:139891133737232 M:7796576256   ERROR: Open - error reading from input stream, myth://mythtv:[email protected]/channels/3.ts

Thats the error I get after some sec. of playback. If i use the mythfrontend i can watch as long as i want. But with xbmc that happens :/
Nobody has an idea? I would really like to use xbmc for TV :/
Please post a full XBMC debug log and the contents of the mythbackend.log file when this happens.
Here is a the full mythbackend.log with ALL debug messages. If u need only some of them just tell me what u need and i'll do a new log. I can reproduce that problem in 1 Minute Smile
I started it and then just opens xbmc.

http://pastebin.com/m77b837cb


And here is the xbmc debug log

http://pastebin.com/f4d903997


Thank you very much for your help!


Edit:

Btw: If i chose "All Recordings" i didn't see the recordings (there are 3 recor. listed in the mythfrontend, which are only the live-tv recordings).
Maybe it's a access problem, i'll take a look.

Edit2:
I'm quite sure now that it is an access problem. I know have to work, but i'll try to repair it later and then post here.


Edit3:
Ok, no access problem. Setting the record folder to /tmp (Where everyone has access) didn't work, too. The user 'mythtv' and the user which xbmc stars are both in the 'video' group.
fame Wrote:Here is a the full mythbackend.log with ALL debug messages. If u need only some of them just tell me what u need and i'll do a new log. I can reproduce that problem in 1 Minute Smile
I started it and then just opens xbmc.

http://pastebin.com/m77b837cb


And here is the xbmc debug log

http://pastebin.com/f4d903997


Thank you very much for your help!


Edit:

Btw: If i chose "All Recordings" i didn't see the recordings (there are 3 recor. listed in the mythfrontend, which are only the live-tv recordings).
Maybe it's a access problem, i'll take a look.

Edit2:
I'm quite sure now that it is an access problem. I know have to work, but i'll try to repair it later and then post here.


Edit3:
Ok, no access problem. Setting the record folder to /tmp (Where everyone has access) didn't work, too. The user 'mythtv' and the user which xbmc stars are both in the 'video' group.

Live TV recordings don't appear in the "All Recordings" directory.

Can you try and playback one of the Live TV recordings (which appears to be getting recorded using a nupplevideo container .nuv), directly off disk within XBMC, rather than going through myth://. For example, /var/lib/mythtv/recordings/1049_20100203151424.nuv

For the XBMC log you posted there was a read error, but the backend seemed to be pushing back data happily enough. I know some other people have had some problems playing back .nuv content so just want to rule that out first. Crazy number of seeks being generated, not sure why.
I started the mythfrontend, chose a channel and pushed "pause".

Then i started xbmc and played that file which still is saved to the hd because of the "pause mode". Worked perfectly for >5 minutes now. No error.


You wrote that the backend pushing back data enough. Thats exactly what i see when looking into the recordings directory while i chose a live channel @xbmc. The .nuv file grows but xbmc stops the playback, hangs for some seconds (file still grows) and when xbmc crashs or just going back to the video section the file stops growing. I think the mythbackend is doing the right thing here.

Tried to watch with mythfrontend yesterday for a longer time. Even >30 minutes are no problem.

Edit:
Btw: The backend and xbmc are running on the same machine. Therefore i use 127.0.0.1 (localhost) for the backend and the xbmc-source. But that shouldn't be a problem, right?
No chance to find the error? It would be very nice to use xbmc for watching tv, would be the perfekt media centre!
I can't see anything obvious in the log files. I have very limited time right now but will try to look more at the weekend.

Can you try using the IP address of the machine rather than 127.0.0.1 in both the setup in XBMC and the configuration in mythbackend as per http://wiki.xbmc.org/?title=MythTV

I'm not sure that will help but will help rule out any code that is making some assumptions when the backend is configured to run on the loopback IP address.
For your info:

I tried the svn version today (revision 28940) and it works like a charm Smile

My gentoo version (9.11-r3) doesnt work with the absolutly same config stuff. I'll use the svn version until there is a new official release of xbmc.

Thanks again for your help.