force specific page to be in list format - 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: Pellucid (https://forum.kodi.tv/forumdisplay.php?fid=267) +---- Thread: force specific page to be in list format (/showthread.php?tid=349785) |
force specific page to be in list format - nero12 - 2019-12-04 hi, I am trying to force a specific page within a plugin to be in list format, but only this page, how do i go about this ? i understand the author wants some standard for plugins before he wants to actively support. i have tried adding the following in the function: xbmc.executebuiltin('Container.SetViewMode(50)') using kodi 18.5 and latest pellucid v would appreciate any help that can point me to the right direction. RE: force specific page to be in list format - thedeadman - 2019-12-08 The view mode is set by the content of the container. I don't know enough about the way addons work, but if you set the content of the container to 'files', it should render as a list. RE: force specific page to be in list format - nero12 - 2019-12-15 (2019-12-08, 15:53)thedeadman Wrote: The view mode is set by the content of the container. I don't know enough about the way addons work, but if you set the content of the container to 'files', it should render as a list. Thanks Alot!, we spent several weeks trying to figure this out, much appreciate your support on your skin!. RE: force specific page to be in list format - nero12 - 2019-12-15 Question: In view_videoFiles.xml i modified the code to look like shown below: i like the below code further modified, so for the below itemlayout i want to include "files" in the condition: !Container.Content(Files). but its not working. any other way of getting it to work ?
RE: force specific page to be in list format - thedeadman - 2019-12-17 Nero12: Don't change the skin. Those viewing conditions are very fragile - you'll tie yourself in knots and I won't be able to help. Rather, set the content in the addon's code. RE: force specific page to be in list format - nero12 - 2019-12-18 i managed to fix it, thanks |