[mythtv-commits] [MythTV/mythtv] c46e18: Option to exit playback and clear last played posi...

kmdewaal noreply at github.com
Thu Jun 30 20:28:41 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: c46e186c3b48c07e87331ece16e0858d2d9d4470
      https://github.com/MythTV/mythtv/commit/c46e186c3b48c07e87331ece16e0858d2d9d4470
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h
    M mythtv/programs/mythfrontend/globalsettings.cpp

  Log Message:
  -----------
  Option to exit playback and clear last played position

Add the "Clear last played position and exit" choice to the "Action on playback exit"
configuration in mythfrontend/Setup/Video/Playback/General Playback.
Add the "Exit Without Saving" option to the playback exit menu. This menu is shown when in the
"Action on playback exit" configuration in mythfrontend/Setup/Video/Playback/General Playback
an option for a prompt on playback exit is selected.
In fixes/31 the bookmark representing the last_played_position is only updated
on playback exit when so configured.
In fixes/32 the last_played_position is continuously updated so there is no easy way to do
a real "Exit Without Saving" because the last_played_position has been saved already.
Instead, the "Exit Without Saving" and "Clear last played position and exit" actions
are implemented by clearing the last played position on playback exit.
This insures that the next playback starts at the beginning of the recording or
at the bookmark, when there is a bookmark present.
This is the same as the behavior of fixes/31 when so configured.

Refs #543




More information about the mythtv-commits mailing list