[mythtv-commits] Ticket #3953: mythfrontend looking for wrong file during LiveTV SwitchToProgram AND Recording Playback

MythTV mythtv at cvs.mythtv.org
Wed Sep 12 00:52:32 UTC 2007


#3953: mythfrontend looking for wrong file during LiveTV SwitchToProgram AND
Recording Playback
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr       
     Type:  defect     |      Status:  new       
 Priority:  major      |   Milestone:  unknown   
Component:  mythtv     |     Version:  0.20-fixes
 Severity:  medium     |     Mlocked:  0         
-----------------------+----------------------------------------------------
 This sounds an *AWFUL* lot like 2335, but I'm not quite sure:

 I'm using a combined FE/BE with latest 0.20.2, but this also applies to
 0.20.0. Ran smooth for several months on FC6. Then, I tried MythDora 4. It
 worked well, but I would occasionally get a frontend "Error displaying
 video" error while watching LiveTV. Whenever this occurred it was always
 exactly on the half-hour or the hour. Then, I installed latest 0.20.2 on
 Ubuntu Feisty a couple days ago, and I'm having the same problems.
 Mythfrontend stderr looks like:

 ...
 2007-09-09 07:30:06.327
 RingBuf(/var/lib/mythtv/recordings/1021_20070908070000.mpg): Invalid file
 (fd -1) when opening '/var/lib/mythtv/recordings/1021_20070908070000.mpg'.
 2007-09-09 07:30:07.982 NVP, Error: SwitchToProgram's OpenFile failed
 ...

 Last night, I also noticed this happens with trying to playback a
 previously recorded show. When I went to play the show, I also got the
 same ringbuf error listed above. Interestingly enough, the show WAS
 recorded, but under a slightly different filename.

 Mythfrontend was looking for:
 /var/lib/mythtv/recordings/1021_20070908070000.mpg

 But, the show was dutifully recorded in its entirety in:
 /var/lib/mythtv/recordings/1021_20070908070430.mpg

 I looked in the database, and indeed the entry for the recording had a
 different filename than that on the disk. Why would mythbackend log the
 filename in mysql with a different string than the filename that gets
 written to the disk?

 I can send any listings or specs that would be helpful...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3953>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list