Disable "parent folder" by code
#1
just another question

is it possible to disable the "parent folder link" by code instead of disable it in the kodi settings?

greetings
Reply
#2
If there is a setting for it, then there is code available too.
What are you looking for?
Reply
#3
(2019-09-12, 20:26)Klojum Wrote: If there is a setting for it, then there is code available too.
What are you looking for?

The Setting is Settings > Appearance > File Lists > Show Parent Folder Items .
Reply
#4
@Oliver Fleischkopper
This should do it,
python:
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"filelists.showparentdiritems","value":false}}')
Reply

Logout Mark Read Team Forum Stats Members Help
Disable "parent folder" by code0