[mythtv] Get/Set Marks As Timestamp

John Pilkington J.Pilk at tesco.net
Sun Mar 15 23:12:18 UTC 2015


On 15/03/15 19:00, Doug Haber wrote:
> Hi,
>
> I'm using the Services API to provide support for a front end on my TV.
> I'd like to add support for Bookmarks but the Service API doesn't seem
> to provide a way to get/set marks.  Even if I added that it looks like
> marks are stored as frames and not as timestamps and my TV API doesn't
> let me move to a particular frame (only to a timestamp).  Is there:
>
> A) Any plan to add support to get/set marks in the Services API for a
> particular RecordedId?  If not, would a patch that did that be accepted?
>
> B) Is there any way to convert a frame to a timstamp?
>
> Thanks!
> Doug

mythutil --getmarkup will create an xml file containing time-offset 
(ms), byte-offset and frame-offset for all keyframes, so the info is 
available, if not exactly convenient for use.

John P




More information about the mythtv-dev mailing list