Displaying folder name inside plugin?
#1
I was wondering if there is any way to display the name of the folder you are currently in, when using a plugin with a folder structure?

For instance; Usually, the label at the top only says "Video - {Name-of-plugin}" no matter where in the plugin you are at the moment.
Could it be changed programmatically to say, for example; "Video - {Name-of-plugin} - {Name-of-current-folder"}?

Thanks in advance!
Reply
#2
Did you try Container.FolderName?
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#3
I tried it, and xbmc.getInfoLabel("Container.FolderName") returns the name of the plugin, which means it's at least the part I want to modify.

I'm a bit clueless as how to actually modify that label, though?
Reply

Logout Mark Read Team Forum Stats Members Help
Displaying folder name inside plugin?0