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

kmdewaal noreply at github.com
Mon Jul 4 19:24:49 UTC 2022


  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: ced41a5f8f5a53c685755cde67fbe16206c9aa55
      https://github.com/MythTV/mythtv/commit/ced41a5f8f5a53c685755cde67fbe16206c9aa55
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2022-07-04 (Mon, 04 Jul 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

(cherry picked from commit c46e186c3b48c07e87331ece16e0858d2d9d4470)




More information about the mythtv-commits mailing list