[mythtv-commits] Ticket #4536: Recording appears in Watch Recordings too early
MythTV
mythtv at cvs.mythtv.org
Sat Feb 23 12:29:18 UTC 2008
#4536: Recording appears in Watch Recordings too early
----------------------------------+-----------------------------------------
Reporter: otto at kolsi dot fi | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
----------------------------------+-----------------------------------------
Changes (by otto at kolsi dot fi):
* status: closed => new
* resolution: fixed =>
Comment:
Unfortunately [15656] does not fix this issue fully. When program is not
yet available, it is shown correctly (pop-up). Also font coloring now
works as expected.
But when program is tried to watch too early, it does not became available
even if you wait for a long time. Re-entering Watch Recordings screen
allows you to watch the program again.
What happens is that in PlaybackBox::play(), availableStatus is
asNotYetAvailable and findMatchingProg() finds the ProgramInfo and
availableStatus is changed to asAvailable. But then a bit later,
rec->filesize is zero and following error is printed to log:
{{{
2008-02-23 13:50:19.250 PlaybackBox::play(): Error,
/mnt/space/store/1006_20080223135000.mpg is zero-bytes in size
}}}
Play does not recover from this, you always get this sequence until you
re-enter the Watch Recordings screen.
As a ugly hack, I added {{{rec->filesize = 1;}}} after line 2675 in
playbackbox.cpp. This fixes the issue, but obviously is not a proper fix.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4536#comment:6>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list