[mythtv] [mythtv-commits] Ticket #12809: Use lastPlayPos rather than bookmark

Roger Siddons dizygotheca at ntlworld.com
Tue Jun 14 09:14:01 UTC 2016


On 14/06/16 06:27, faginbagin wrote:
> Hi Roger,
>
> Before I do fall asleep I will
> periodically update the bookmark. Obviously, when I finally do fall
> asleep, the recording plays to the end.
>
> In this case, lastPlayPos would be cleared, correct?

Yes

>
> And bookmarks aren't going away, so I would still be able to resume
> playback at the bookmark, correct?

Yes

>
> I would need to use the "Play from ..." sub-menu to resume playback at
> the bookmark, correct?

Yes, if lastPlayPos was set, ie. your cat exited playback after you'd 
fallen asleep.

>
> If I didn't, playback would start at the beginning, correct?

No. If lastPlayPos isn't set then playback resumes from the bookmark.

>
> I'd also like to share with you a thread I initiated on the mythtv-users
> list on the subject of bookmark behavior back when I was preparing to
> upgrade to 0.27 back in December 2014 and discovered the behavior had
> changed from what I was used to in 0.23:
> http://www.gossamer-threads.com/lists/mythtv/users/560764
>
That was an oversight that got fixed.
But that behaviour hasn't changed; the code has just become more simple.

Now that Myth has the lastPlayPos, it never sets, nor clears the 
bookmark. So the settings that tried to control when & how it was 
updated ("Clear bookmark on playback" & "Save and exit") are redundant.
If you set a bookmark, it will persist until you clear it or the 
recording is deleted.




More information about the mythtv-dev mailing list