[mythtv] Get/Set Marks As Timestamp

Doug Haber doug at fawnanddoug.com
Tue Mar 17 20:11:54 UTC 2015


On Sun, Mar 15, 2015 at 7:12 PM, John Pilkington <J.Pilk at tesco.net> wrote:

> 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
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>


Thanks All!

https://code.mythtv.org/trac/ticket/11491 is almost exactly what I need so
I made a pull request for it (after modifying to get it to work with
current Master).  I also added a Bookmark field which is useful to me.
The pull request is here:

https://github.com/MythTV/mythtv/pull/93

Thanks!
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20150317/d955276e/attachment.html>


More information about the mythtv-dev mailing list