[mythtv-commits] [MythTV/mythtv] 1eabe2: libmythtv: Move TV menu classes into new file

Mark Kendall noreply at github.com
Fri Oct 23 11:26:06 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 1eabe22e6d0dc6f2998eb071b2fe8f2c6bc33d6a
      https://github.com/MythTV/mythtv/commit/1eabe22e6d0dc6f2998eb071b2fe8f2c6bc33d6a
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/libmythtv.pro
    A mythtv/libs/libmythtv/mythtvmenu.cpp
    A mythtv/libs/libmythtv/mythtvmenu.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h

  Log Message:
  -----------
  libmythtv: Move TV menu classes into new file

- which was a long forgotten TODO from when they were originally
committed


  Commit: f235fa4661d2f8f5907426dcefac58407fdfed1f
      https://github.com/MythTV/mythtv/commit/f235fa4661d2f8f5907426dcefac58407fdfed1f
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythtvmenu.cpp
    M mythtv/libs/libmythtv/mythtvmenu.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h

  Log Message:
  -----------
  MythTVMenu: Rename classes

- for improved clarity
- move more code out of TV
- refactor addButton method to make it a member of MythTVMenuItemContext


  Commit: 3558f7b22e32fc2f4b2f36b9aecdb7e99eb4a1d5
      https://github.com/MythTV/mythtv/commit/3558f7b22e32fc2f4b2f36b9aecdb7e99eb4a1d5
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/osd.cpp
    M mythtv/libs/libmythtv/osd.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h

  Log Message:
  -----------
  OSD/TV: Convert OSD dialog creation to use signal/slot mechanism

- this is just part of the larger ongoing drive to simplify the TV/
MythPlayer classes and to break some of the direct linkages between the
TV object and the underlying MythPlayer object.
- the only remaining usage of OSD::DialogShow is by the menu creation
code - which needs a little refactoring to handle cleanly.

Refs #240


  Commit: 53fdb438829750c444765f8ab0f50c02cc1c52f5
      https://github.com/MythTV/mythtv/commit/53fdb438829750c444765f8ab0f50c02cc1c52f5
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/osd.cpp
    M mythtv/libs/libmythtv/osd.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h

  Log Message:
  -----------
  TV/OSD: Use signal/slot to update OSD text

Refs #240


  Commit: 01ff4a9b86ab696f975ee09cbbf30ba026095cd9
      https://github.com/MythTV/mythtv/commit/01ff4a9b86ab696f975ee09cbbf30ba026095cd9
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/osd.cpp
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h

  Log Message:
  -----------
  TV: Rename signal ShowOSDDialog->ChangeOSDDialog

- for consistency with other signal names


  Commit: 5904560bee2f1abe89ff838d11e608340259ac92
      https://github.com/MythTV/mythtv/commit/5904560bee2f1abe89ff838d11e608340259ac92
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h

  Log Message:
  -----------
  MythPlayer: Signal the current pause state


  Commit: 762196f4484b98b75ed6c8a75daef7d9fae206fb
      https://github.com/MythTV/mythtv/commit/762196f4484b98b75ed6c8a75daef7d9fae206fb
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayeraudioui.cpp
    M mythtv/libs/libmythtv/mythplayeraudioui.h

  Log Message:
  -----------
  MythPlayerAudioUI: Signal the current mutestate


  Commit: a498cc8a1ea69a9b50b20d7c070d080ab73724db
      https://github.com/MythTV/mythtv/commit/a498cc8a1ea69a9b50b20d7c070d080ab73724db
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/osd.cpp
    M mythtv/libs/libmythtv/osd.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h

  Log Message:
  -----------
  OsdNavigation: Listen for pause and mute updates

- rather than manually update the OsdNavigation screen when a relevant
state has changed, connect the screen to the relevant player signals and
update as necessary


  Commit: c7f7c3dc0e0ee3c54247fefd91db8e2ace7940c2
      https://github.com/MythTV/mythtv/commit/c7f7c3dc0e0ee3c54247fefd91db8e2ace7940c2
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideogpu.h
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp

  Log Message:
  -----------
  MythVideoGPU: Fix stereoscopic when paused

- as for rotation, track the last known valid value for use when there
is no frame for reference


  Commit: e1f05a9924e3b923706b5ba5dff02280d2bac86c
      https://github.com/MythTV/mythtv/commit/e1f05a9924e3b923706b5ba5dff02280d2bac86c
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-23 (Fri, 23 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/libmythtv.pro
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayeraudioui.cpp
    M mythtv/libs/libmythtv/mythplayeraudioui.h
    A mythtv/libs/libmythtv/mythplayerstate.cpp
    A mythtv/libs/libmythtv/mythplayerstate.h
    M mythtv/libs/libmythtv/osd.cpp
    M mythtv/libs/libmythtv/osd.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h
    A mythtv/libs/libmythtv/tvplaybackstate.cpp
    A mythtv/libs/libmythtv/tvplaybackstate.h
    M mythtv/programs/mythfrontend/guidegrid.cpp

  Log Message:
  -----------
  TV/Audio: Add audio state feedback

- start signalling current state back to the UI/TV object - audio only
currently
- new TVPlaybackState class tracks the current state within TV and also
for the time being is the inheritance point for QObject. While audio
only atm, this will hold the definitive player state when complete. It
will also replace some of the state management held in PlayerContext
- MythPlayerState holds simple wrapper classes around parcels of related
player state - currently audio only. This is held in a separate file to
avoid convoluted header dependancies
- MythPlayerAudioUI is much simplified as it no longer needs to offer a
public API to retrieve its current state - any updates are signalled
- OsdNavigation is converted to use the new MythAudioState API - which
would also allow it to show more audio state with some minor
modifications (volume etc)

Refs #264 #240


Compare: https://github.com/MythTV/mythtv/compare/141730bf08e7...e1f05a9924e3


More information about the mythtv-commits mailing list