Kodi Community Forum
Command line to hide buttons on Confluence's home screen - 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: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Command line to hide buttons on Confluence's home screen (/showthread.php?tid=327960)



Command line to hide buttons on Confluence's home screen - tonylynn03 - 2018-02-02

I am using kodi 17.6 and want to use Confluence as default skin. I'd like to hide some buttons on Confluence's home screen. I've tried the following codes to hide Pictures without success:
Code:
xbmcaddon.Addon("skin.confluence").setSettingBool(id="HomeMenuNoPicturesButton",value="true")
I got AttributeError: 'xbmcaddon.Addon' object has no attribute 'setSettingBool'
Code:
xbmcaddon.Addon("skin.confluence").setSetting(id="HomeMenuNoPicturesButton",value="true")
Just does not work.
Can someone please shed some light on this?
Thanks in advance.


RE: Command line to hide buttons on Confluence's home screen - Quihico - 2018-02-02

Skin-settings are not addon-settings.
There are severalĀ built-ins to (re)set skin-settings and skin-strings.
For your example you could use:
Code:
xbmc.executebuiltin("Skin.SetBool(HomeMenuNoPicturesButton)")



RE: Command line to hide buttons on Confluence's home screen - tonylynn03 - 2018-02-03

Thank you. Exactly what I am looking for. Big Grin