Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
v18 keymap help: return to video when pressing back from activated window?
#1
On v18.9.

With the default estuary skin, clicking TV from the main menu will go to tvchannels. Then while watching a channel, I have it configured that pressing <left> will bring up the tvchannels window so I can select another channel.
Quote:  <FullscreenLiveTV>
    <keyboard>
        <backspace>Stop</backspace>
        <left>ActivateWindow(tvchannels)</left>
    </keyboard>
  </FullscreenLiveTV>
But when I have the tvchannels window opened and decide to not select any channel and just press <back>, I'm undesirably returned to the kodi home menu with the channel still playing in the background instead of taking me back to the playing channel.

To try to fix this, I used...
Quote:  <tvchannels>
      <keyboard>
        <backspace>ActivateWindow((FullscreenLiveTV)</backspace>
    </keyboard>
  </tvchannels>
But say I'm back at the home menu and click TV to get to the tvchannels window. Now can't use <back> to get back to the home menu because now it just tries to activate fullscreenlivetv, which doesn't do anything since no channel is playing.

It seems like I want <back> to do different things under the same tvchannels window depending on if video is playing or not, which is a logic I don't think kodi supports in the keymap.

I thought maybe there is a parameter for ActivateWindow or ReplaceWindow that will somehow define which window to go back to, but my trial and error testing hasn't worked yet.

Help?
Reply
#2
So I got around some of the problem by replacing tvchannels with pvrosdchannels since pressing back from pvrosdchannels desirably goes back to the video and not the home screen. But tvchannel and tvguide will ignore the fullscreenvideo upon jump back.

I still don't understand why using activatewindow to jump from fullscreenlivetv doesn't allow the back button to go back to the video. Maybe there should be an extra parameter to activatewindow to specify the window/command to invoke upon jump back to (so fullscreenvideo can be specified as an option).
Reply
#3
The following will allow one to navigate to the true previous screen from tvchannel, be it fullscreenlivetv or home:
Quote:  <tvguide>
      <keyboard>
        <backspace>PreviousMenu</backspace>
    </keyboard>
  </tvguide>
Reply

Logout Mark Read Team Forum Stats Members Help
keymap help: return to video when pressing back from activated window?0