onback in EPG-Grid
#1
Hello

Struggle with "onback" in EPG-Grid

using an ID to Focus is no Problem, but i would like to do is go to "fullscreenvideo" via "onback".

what i tryed so far:
xml:

<onback>Action(FullScreen)</onback>

<onback>ActivateWindow(fullscreen)</onback>

<onback>ActivateWindow(fullscreenvideo)</onback>

<onback>activatewindow(fullscreenlivetv)</onback>

plus all of them with a "close" at first:
xml:

<onback>Dialog.Close</onback>

<onback>Close</onback>

<onback>Action(Close)</onback>

Non of them did work!

if i map "activatewindow(fullscreenlivetv)" to a remotebutton, i can easely change to fullscreen, but via "onback" it wont work. but why?
Reply
#2
Try something like this

<onback condition="[Window.Previous(fullscreenvideo) | Window.Previous(visualisation)] + Player.HasMedia">action(fullscreen)</onback>
<onback condition="![[Window.Previous(fullscreenvideo) | Window.Previous(visualisation)] + Player.HasMedia]">what-ever-floats-your-boat</onback>

Reason for the condition:
The epg also can be accessed without having a playback. And the guide window is no dialog anymore since ... err.. years. Cannot remember. No need for Dialog.Close().

Edit:
you can also try "action(PreviousMenu)"
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
You can only override the <onback> action in EPG Guide by specifying another ID to focus first.
A small hack is to set focus to the channel group changer:
Code:

<onback>11</onback>
<onback condition="Player.Media">Action(fullscreen)</onback>
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#4
(2019-12-16, 23:17)jurialmunkey Wrote: You can only override the <onback> action in EPG Guide by specifying another ID to focus first.
A small hack is to set focus to the channel group changer:
Code:

<onback>11</onback>
<onback condition="Player.Media">Action(fullscreen)</onback>

Thanks! This did the Trick.
Reply
#5
Excellent.

Just for anyone else reading this thread - I made a typo in the condition. It should be "Player.HasMedia" not "Player.Media"
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply

Logout Mark Read Team Forum Stats Members Help
onback in EPG-Grid0