[mythtv-users] 0.22RC1 frontend problem

Ken Bass kbass at kenbass.com
Sat Oct 24 15:43:57 UTC 2009


I am not sure if this is working as designed, but if so, it is confusing...

Since last night whenever I went into LiveTV or Watch Recordings, I 
would just get the 'Please wait...' screen and it would return to the 
menu after 20 seconds or so. I was racking my brain for hours trying to 
figure out what had changed.

I finally figured out what happened. While trying to debug some other 
issues (and preparing to get my music ready for scanning), on the 
frontend I had mounted my backend to /mnt/store (which is the same path 
used on the backend). (I assume mythmusic is not storage group aware). 
Apparently this confused the frontend somehow.

Normally the following line was in my log:
2009-10-24 10:51:03.183 We have a 
playbackURL(myth://192.168.2.100:6543/2022_20091024105103.mpg) & 
cardtype(HDPVR)

But after I mounted:

2009-10-24 10:39:43.652 We have a 
playbackURL(/mnt/store/2022_20091024103943.mpg) & cardtype(HDPVR)
2009-10-24 10:39:44.111 We have a RingBuffer
2009-10-24 10:39:44.163 TV: StartPlayer(0, Watching WatchingLiveTV, 
main) -- begin
2009-10-24 10:39:48.215 RingBuf(/mnt/store/2022_20091024103943.mpg): 
Waited 4.0 seconds for data to become available...
2009-10-24 10:39:48.215 Checking to see if there's a new livetv program 
to switch to..
2009-10-24 10:39:52.217 RingBuf(/mnt/store/2022_20091024103943.mpg): 
Waited 8.0 seconds for data to become available...
2009-10-24 10:39:52.217 Checking to see if there's a new livetv program 
to switch to..
2009-10-24 10:40:00.220 RingBuf(/mnt/store/2022_20091024103943.mpg) 
Error: Waited 16 seconds for data, aborting.
2009-10-24 10:40:00.220 mpegts_read_header: read_packet() failed
2009-10-24 10:40:00.220 AFD Error: avformat err(-1) on 
av_open_input_file call.
2009-10-24 10:40:00.220 Couldn't open decoder for: 
/mnt/store/2022_20091024103943.mpg
2009-10-24 10:40:00.221 TV: StartPlayer(0, Watching WatchingLiveTV, 
main) -- end error
2009-10-24 10:40:00.221 TV Error: LiveTV not successfully started

After I umounted the filesystem, it worked again.

Secondly, since I was able to use mplayer on the frontend (as user 
mythtv) to play the data via the cifs mount, why didn't this work anyhow?

For a split frontend/backend, when dealing with LiveTV, shouldnt it 
ALWAYS use the streaming method instead of trying to find the file 
locally? Or at least be a configuration item?


More information about the mythtv-users mailing list