cannot change MyVideoNav view mode - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +--- Thread: cannot change MyVideoNav view mode (/showthread.php?tid=201104) |
cannot change MyVideoNav view mode - qwesp - 2014-08-01 Hi, i am creating a plugin. I am having trouble switching view modes in MyVideoNav, when populated from python. For testing, i run my script from keymap.xml like this: Code: <two mod="ctrl">RunScript(plugin.video.test, 0, ?mode=972)</two> My part of addon.py looks like this: Code: ... 1/ Everything works, but the view mode on left cannot be changed from 'List' to anything else. It does not matter if I fill-in the control 50 for List of 500 for thumbnail, switching wont work. 2/ Also i dont understand how should it work, if I populate the view 50, how would xbmc know to display when switched to for example thumbnailview, which is control id 500. Should I populate some other control? If you could, please help |