[mythtv-users] Exiting near end of still-recording program results in no bookmark set

John Veness John.Veness.mythtv at pelago.org.uk
Wed Mar 2 11:59:23 UTC 2011


On 02/03/2011 00:48, Jim Stichnoth wrote:
> TV::PrepareToExitPlayer() won't set a bookmark if IsNearEnd() is true,
> which must be what's happening here.  Probably an additional test on
> the recording state should be added, like:
>
>          if (bookmark_it&&  (!ctx->player->IsNearEnd() ||
> StateIsRecording(GetState(ctx))))
>              ctx->player->SetBookmark();
>
> The following test on db_auto_set_watched probably needs similar treatment.
>
> I can test this later, or maybe someone else would want to try it out sooner.
>
> Jim

Jim,

Thanks for that. I have raised ticket 9625 
(http://code.mythtv.org/trac/ticket/9625) to track this.

Cheers,

John

-- 
John Veness, MythTV user, UK, DVB-T


More information about the mythtv-users mailing list