Skip to content

Add MediaTimeRangesType for playback skip or other function#3

Open
martinoneutrino wants to merge 2 commits intobwhiteley:masterfrom
martinoneutrino:master
Open

Add MediaTimeRangesType for playback skip or other function#3
martinoneutrino wants to merge 2 commits intobwhiteley:masterfrom
martinoneutrino:master

Conversation

@martinoneutrino
Copy link

This isn't much to work with, but I'm hoping it will start the ball rolling on getting commercial skip working on MythTV on AppleTV.
The API for commercial breaks is at: /Dvr/GetRecordedCommBreak?RecordedId=00000&OffsetType=Duration (valid for MythTV 0.28+)
The XML format returned is given at https://www.mythtv.org/wiki/DVR_Service#GetRecordedSeek.
The Cutting/Mark values of 4 (Commercial Start) and 5 (Commercial End); as given at https://code.mythtv.org/doxygen/programtypes_8h_source.html#l00061
The Cutting/Offset values are in microseconds, and so translate pretty easily into CMTime and CMTimeRange values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant