[mythtv-commits] Ticket #3580: uPnP commercial skipping
MythTV
mythtv at cvs.mythtv.org
Sun Jun 17 17:14:27 UTC 2007
#3580: uPnP commercial skipping
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-----------------------+----------------------------------------------------
Comment(by robsbox at optonline.net):
Modified new table method ProgramInfo::GetTrackMap() and added new type
pos_time_map_t for supporting the method so that a map of commercial
endpoints byte offsets indexed by time position (in seconds) is created.
This will come in handy whenever someone decides to include track offsets
in mytharchive rather than arbitrary, percentage based tracks.
Since my uPnP player apparently does not support playlists, but will play
a sequence of videos if the play button is pressed when viewing a
container list of video segments, I modified UPnpCDSTv() to generate a
list of videoItems, each videoItem having content comprising the show
followed by the commercials. The next track button skips to the next
segment of video. I needed the above modification to the track table so
that the duration of each track is reported properly in the resource tag.
Please disregard patchfile.4, which did not calculate segment sizes
properly and had a bug in the duration of the last track. Patchfile.5 is
the final patch to implement this functionality.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3580#comment:4>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list