[mythtv] position/cutlist not updating (more info)
Chris Palmer
mythtv at zencow.com
Fri Mar 14 03:44:52 EST 2003
I decided to do a little debugging on my own and so I added a
few debugging output lines to libs/libmythtv/NuppelVideoPlayer.cpp
which show which criteria in NuppelVideoPlayer::SetBookmark
was causing the bookmark to not get set.
The very first if-statement was the one that was triggered:
if (!haspositionmap) {
cerr << "DEBUG: Unable to SetBookmark: !haspositionmap\n" << endl;
return;
}
I have no idea how to track it from here, but hopefully this
gives you guys some good clues, based on my description below
and the condition being triggered.
-Chris
Chris Palmer wrote
> Hi...
>
> I have one program in my playlist that I cannot get to
> "save position" or enter "edit mode" during playback.
> I looked thru the database for some reason for this and
> found that the cutlist field was NULL for that recording.
> Changing it to an empty string like the other shows that
> were not edited did not help, tho, so this is probably
> unrelated (I just reasoned that the other shows probably
> had a NULL cutlist, too, until I entered edit mode on
> them, even tho I didn't make any edits).
>
> After scratching my head a bit, I came up with the one
> difference in that show over the others. I had marked the
> show for recording about a minute after the actual show
> had started. All the rest were pre-scheduled recordings.
>
> My guess is that the length of the recording doesn't match
> the expected length (not enough total frames), so mythtv is
> being paranoid and not doing any database updates based on
> positioning.
>
> >From checking the database logs, mythtv doesn't even attempt
> to update the database for this one show (I saw it do the
> update for other shows), so there's no error when trying
> to update it.
>
> Any thoughts?
>
> -Chris
More information about the mythtv-dev
mailing list