[mythtv-commits] Ticket #11713: add mythical bookmark at the scheduled start of programme (to automatically skip preroll)
MythTV
noreply at mythtv.org
Tue Apr 14 22:27:55 UTC 2015
#11713: add mythical bookmark at the scheduled start of programme (to automatically
skip preroll)
--------------------------------+-----------------------------
Reporter: dekarl | Owner: stichnot
Type: Developer Task | Status: accepted
Priority: minor | Milestone: 0.27.5
Component: MythTV - Recording | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------+-----------------------------
Changes (by stichnot):
* owner: dekarl => stichnot
* status: new => accepted
Comment:
After some more thought, here's the current plan.
Add a new value MARK_UTIL_PREROLL to MarkTypes.
RecorderBase::SavePositionMap() writes this mark as soon as it encounters
a keyframe close to the recording's scheduled start time.
The frontend PBB starts playback from this keyframe if the user selects
Play and there is no explicit bookmark (but not if the user selects one of
the "Play from..." menu items).
I also want another "utility mark" mechanism:
Add a new value MARK_UTIL_PLAYPOS to MarkTypes.
The TV class (tv_play.cpp) adds a timer event that auto-saves the current
playback frame with this mark type every 30 seconds. The actual saving is
done in a background thread to avoid playback glitches.
The "Play from..." menu gets a new item:
Play from last played position
If you accidentally exit playback without setting a bookmark (or
mythfrontend crashes, or the OS crashes, or ...), this allows you to
resume roughly where you left off.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/11713#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list