Kodi Community Forum
Solved I can not make work Container.NextViewMode function - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Aeon Nox: Silvo (https://forum.kodi.tv/forumdisplay.php?fid=142)
+---- Thread: Solved I can not make work Container.NextViewMode function (/showthread.php?tid=163382)



I can not make work Container.NextViewMode function - buongiorgio - 2013-04-26

Hi folks,
I am trying to add to my remote a hotkey to toggle between viewtypes. I searched in the forum and I found out that for Aeon Nox I should use the Container.NextViewMode function. I tried some different solutions: with and without () after the function, adding <onclik> tag, using ExecuteBuiltIn.
This is an excerpt of my remote.xml file:

Code:
<VideoLibrary>
    <remote>
      <red>SendClick(14)</red>
      <green>Container.NextViewMode</green>
      <yellow>VideoLibrary.Search</yellow>
     </remote>
  </VideoLibrary>

The SendClick and VideoLibrary.Search functions work without problems.
Any help is appreciated.
Thanks.

Edit: I don't know why but now it works.