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

Peter Bennett pb.mythtv at gmail.com
Wed Jan 10 21:11:27 UTC 2018



On 01/10/2018 01:07 PM, Peter Bennett wrote:
> Hi Roger
>
> The old patch you provided for the services - I have it working but I 
> think it needs some more features. It only allows getting the marks, 
> not setting them. Kodi would also need to set the last played position 
> so I plan to add a set method for the 4 values: Bookmark, Duration, 
> Progstart, LastPlay. I don't know if you think allowing setting of 
> Duration or Progstart lets people shoot themselves in the foot. Is 
> there some consensus on what we should allow setting? Maybe it should 
> only set Bookmark and LastPlay?
>
> Also I think the service should allow getting and setting using 
> channel and start time as well as by recordid. I will add those options.
>
> Peter

I think it is easier to update the existing SetSavedBookmark service to 
have an extra optional parameter BookmarkType that can take value 
"lastplaypos" to update last play position. Since it is optional it will 
continue to work without that parameter for existing applications that 
update the bookmark.

Peter




More information about the mythtv-dev mailing list