2017-05-02, 01:46
(2017-05-01, 14:28)torma02 Wrote: My actions:
[Actions]
Action01Variable=$dll(kodi4smartie,9,,)
Action01Condition=2
Action01ConditionValue=2
Action01Action=GotoScreen(1)
Action02Variable=$dll(kodi4smartie,9,,)
Action02Condition=2
Action02ConditionValue=1
Action02Action=GotoScreen(2)
I just did the following and is all appeared to work fine. I included the state (function 9) at the beginning of each line 1. When I start kodi it goes to screen 2, once I start a video it goes to screen 1. Make sure you have the screens you want shown enabled and all other screen disabled.
Code:
[Screen 01]
Text01="A$dll(kodi4smartie,9,,)B$dll(kodi4smartie,1,0,0)"
Text02="$dll(kodi4smartie,2,,)"
[Screen 02]
Text01="A$dll(kodi4smartie,9,,)B$dll(kodi4smartie,7,XBMC.GetInfoLabels,System.CurrentWindow)$dll(kodi4smartie,9,,)"
Text02="$dll(kodi4smartie,7,XBMC.GetInfoLabels,System.CurrentControl)"
[Actions]
Action01Variable=$dll(kodi4smartie,9,,)
Action01Condition=2
Action01ConditionValue=1
Action01Action=goto screen (2)
Action02Variable=$dll(kodi4smartie,9,,)
Action02Condition=2
Action02ConditionValue=2
Action02Action=goto screen (1)