[mythtv] Ticket #12809: Use lastPlayPos rather than bookmark
Peter Bennett
pb.mythtv at gmail.com
Wed Jan 10 18:07:40 UTC 2018
On 12/27/2017 06:05 PM, Roger Siddons wrote:
> On Wed, 27 Dec 2017 17:58:52 -0000
> "MythTV"<noreply at mythtv.org> wrote:
>
>> #12809: Use lastPlayPos rather than bookmark
>> -------------------------------------+-----------------------------
>> Reporter: rsiddons | Owner: rsiddons
>> Type: Patch - Feature | Status: assigned
>> Priority: minor | Milestone: 29.1
>> Component: MythTV - Video Playback | Version: Master Head
>> Severity: low | Resolution:
>> Keywords: | Ticket locked: 0
>> -------------------------------------+-----------------------------
>>
>> Comment (by pbennett):
>>
>> Roger
>>
>> Can I help with getting your patches in? I suggest applying them to
>> master, rather than 29.1 as you had suggested.
>>
>> Regarding a service that can support the last played position. There
>> are at the moment services !GetSavedBookmark and !SetSavedBookmark. I
>> could add !GetLastPlayPos and !SetLastPlayPos for Kodi and others to
>> use. It is time for me to learn about the MythTV services, so if you
>> agree I can get going on that so that we can commit this stuff.
>>
>> Also there are some small changes in Piotr's version of the patches,
>> which probably should also be included.
>>
>> Peter
>>
> Hi Peter,
>
> Are you running out of things to fix?
>
> Yes, it'll be good to get that cleared up.
>
> I found an old patch (attached) that seems to apply cleanly.
> It's never been tested though. I was hoping to avoid testing it
> manually but my plans have been waylaid, as usual.
> So you're most welcome to play with it.
>
> It includes PROGSTART and others.
> Seems to me a client would usually want several marks so it makes more
> sense to group them together rather than cluttering the API and
> requiring repeated calls. New marks can then be added easily.
>
> I'm not aware of Piotr's mods.
>
> I have seen occasional failures in the UI reported position but have
> never bothered to debug it. Getting it committed would expedite that!
>
> Regards
>
>
>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20180110/0c7c2bee/attachment.html>
More information about the mythtv-dev
mailing list