[mythtv] Q regarding "GUI: Enhance Playback to allow change of recording group with arrow keys"

Peter Bennett pb.mythtv at gmail.com
Tue Apr 17 23:27:43 UTC 2018



On 04/17/2018 03:49 PM, Piotr Oniszczuk wrote:
> Peter,
> Pls see inline.
>
>> Wiadomość napisana przez Peter Bennett<pb.mythtv at gmail.com>  w dniu 17.04.2018, o godz. 18:27:
>>
>>
>> Hi Piotr
>>
>> I think you already mentioned this before. I am not sure how this would work.
>>
>> When I watch recordings I always select the program on the left and then see the episodes on the right. In that case, all the episodes for the program are already displayed.
> Right. This is one possible way of selecting recording to watch.
> This is with „View Recordings/Start in Group List” = ON I believe.
> Unfortunately, in my case issue will be that left list is alphabetically sorted and huge.
> I have 3k recordings in 4 watchers groups with few hundreds of titles per watcher. Scrolling to desired recording will be REALLY painful for me.
>
> Thats why I have configured fe to display with focus on right recording list sorted by recording time. („View Recordings/Start in Group List” = OFF)
> This is convenient for me as in 90% of cases we want to watch from most recent recordings (news, daily talkshows, etc).
>
> So I think following:
> Maybe we need to distinguish 2 cases (described below on MythCenter theme):
>
> Case1: user selects „View Recordings/Start in Group List” = ON (Your case)
>
> 1.myth shows recordings with focus on left list
> 2.if selection is on „All recordings” or „Watch List” and user press right arrow, focus goes to right list (with shows listed by date).
> 	a. Now - if user press right arrow on title having episodes - myth shows list of episodes. Pressing again right arrow on given episode shows recording options menu.
> 	b. if user press right arrow on title not having episodes - myth shows recording options menu.
> 3.if selection is on any other than „All recordings” or „Watch List”, and user press right arrow, focus naturally goes to right list (with shows listed by date)
> 	but now - if user press right arrow, myth always shows recording options menu.
>
>
> Case2: user selects „View Recordings/Start in Group List” = OFF (my case)
>
> 1.myth shows recordings with focus on right list
> 2.If user press right arrow on title having episodes - myth shows list of episodes. Pressing again right arrow on given episode shows recording options menu.
> 3.If user press right arrow on title not having episodes - myth shows recording options menu.
> 4.if user press left arrow - myth start behave like in Case1.
>
>
> I think this is consistent…
>
>
Did you try this? You can do this on your own with no program change:

Edit the recordings-ui.xml for your theme. For mythcenter or terra the 
theme is in /usr/share/mythtv/themes, for downloaded themes it is in the 
.mythtv directory.

In recordings-ui.xml, look for  <buttonlist name="recordings" ,
Look for the triggerevent line
<triggerevent context="Global" action="MENU">RIGHT</triggerevent>
change it to this
<triggerevent context="TV Frontend" 
action="LISTRECORDEDEPISODES">RIGHT</triggerevent>
If there is no triggerevent, just add the line.
Then go into Setup, Edit keys and assign a key to LISTRECORDEDEPISODES 
in the TV Frontend section. It does not matter what key you assign 
there, but there has to be one or this will not work.

Now the right arrow will bring up the recorded episodes.

To preserve your theme change from being overwritten make a copy of the 
theme in .mythtv/themes with a new name. Also edit the themeinfo.xml 
file and put the new theme name in there. Now you should be able to 
select the new theme name in the theme chooser.

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20180417/3991ed35/attachment.html>


More information about the mythtv-dev mailing list