Opened 6 years ago

Closed 5 years ago

#11922 closed Developer Task (Fixed)

Decouple Live TV and Program Guide

Reported by: Jim Stichnoth Owned by: Jim Stichnoth
Priority: minor Milestone: 0.28
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The setting WatchTVGuide ("Show the program guide when starting Live TV") leads to a lot of unnecessary complication in the code base. The intention here is simplify by decoupling the starting of the Guide and Live TV, while providing a mostly equivalent experience for those who prefer starting with the Guide.

  1. Remove the WatchTVGuide setting.
  1. Promote the Schedule Recordings menu item (i.e., Program Guide) to the top-level mainmenu.xml.
  1. Allow the top-level guide starting channel to be automatically selected as the channel that would be tuned if Live TV were started instead.
  1. Optionally, change the DefaultTVChannel setting to be per channel group instead of global.

Change History (9)

comment:1 Changed 6 years ago by Jim Stichnoth <jstichnoth@…>

In eb13dd5af48535c64196c9c6aa5e5235f37f6555/mythtv:

Allow the Guide start channel to be the "natural" Live TV channel.

If the DefaultTVChannel setting is left blank, then the EPG starting
channel is dynamically selected to be the same channel that would
naturally be tuned when Live TV is started. This depends on the
available cards, their Live TV priority ordering, and the current
value of the starting channel for the inputs.

Note: It looks like there are still problems selecting the correct
tuner and starting channel when starting Live TV, which need to be
separately fixed.

Refs #11922.

comment:2 Changed 6 years ago by Jim Stichnoth <jstichnoth@…>

In 77ddcc1b0f7b3fe791eadeb0fd111eb834d9c1ad/mythtv:

Prefer the DefaultChanid? setting when picking EPG channel.

This more closely matches the logic of picking the starting channel
during Live TV startup. Refs #11922.

comment:3 Changed 6 years ago by Jim Stichnoth <jstichnoth@…>

In c5f22566150e27cd977dc9e27aa2a4f683517eba/mythtv:

Add Program Guide to the top-level menu.

For menu themes that contain Watch Live TV in the top-level
mainmenu.xml, add a button for Program Guide. This only applies to
defaultmenu and mediacentermenu themes. Refs #11922.

comment:4 Changed 6 years ago by Jim Stichnoth <jstichnoth@…>

In de14c21fe0bf0372009687f2127bf0f457c5a242/mythtv:

Remove the option to start Live TV in the Program Guide.

The user can instead start Live TV and then bring up the Guide, or
start the Guide and then select "Watch This Channel" from the menu.

With the first option, to get to the Guide quickly, the user may want
to use the "Program Guide" jump point, or reorganize their Playback
OSD menu or Playback OSD compact menu
(http://www.mythtv.org/wiki/Themed_Menus) to bring the Program Guide
item to a more convenient position in the menu.

Refs #11922.

comment:5 Changed 5 years ago by Jim Stichnoth <jstichnoth@…>

In 681a09dbce9eaaf51b8914980dd7430a121bb55d/mythtv:

Allow the Guide start channel to be the "natural" Live TV channel.

If the DefaultTVChannel setting is left blank, then the EPG starting
channel is dynamically selected to be the same channel that would
naturally be tuned when Live TV is started. This depends on the
available cards, their Live TV priority ordering, and the current
value of the starting channel for the inputs.

Note: It looks like there are still problems selecting the correct
tuner and starting channel when starting Live TV, which need to be
separately fixed.

Refs #11922.

(cherry picked from commit eb13dd5af48535c64196c9c6aa5e5235f37f6555)

comment:6 Changed 5 years ago by Jim Stichnoth <jstichnoth@…>

In b4b5a7d3b26a9b448730d1bf6fce191b67fc025d/mythtv:

Prefer the DefaultChanid? setting when picking EPG channel.

This more closely matches the logic of picking the starting channel
during Live TV startup. Refs #11922.

(cherry picked from commit 77ddcc1b0f7b3fe791eadeb0fd111eb834d9c1ad)

comment:7 Changed 5 years ago by Jim Stichnoth <jstichnoth@…>

In ed76a9d06c8db06157c1cb7afc8d7e349ba7ee8c/mythtv:

Add Program Guide to the top-level menu.

For menu themes that contain Watch Live TV in the top-level
mainmenu.xml, add a button for Program Guide. This only applies to
defaultmenu and mediacentermenu themes. Refs #11922.

(cherry picked from commit c5f22566150e27cd977dc9e27aa2a4f683517eba)

comment:8 Changed 5 years ago by Frank Phillips <fphillips81@…>

This task has been implemented, can be closed.

comment:9 Changed 5 years ago by Jim Stichnoth

Resolution: Fixed
Status: newclosed

Some work is still needed to improve the selection of the "natural" live TV starting channel, but that can be done separately.

Note: See TracTickets for help on using tickets.