FileBrowser heading label from Skin.SetPath
#1
Back in Frodo PR:1590 the ability to set a starting path was added to Skin.SetPath, viz, Skin.SetPath(setting,library://video/) (Note: this is not documented in list_of_built-in_functions (wiki)). I am using this, but when this function fires it calls up FileBrowser window with the heading label "411" that shows "Browse for image folder" which obviously is not what the user is doing. Is there some way to get the label to show something like "Browse For Video (Music) Library Node"? I notice that if you use "special://videoplaylists" the FileBrowser heading is "Browse For File" which is a bit better, but I still think it would be nice to use something like "Browse For Playlist".

The core issue seems to be SkinBuiltins.cpp function SetPath is calling
Code:
CGUIDialogFileBrowser::ShowAndGetDirectory(localShares, g_localizeStrings.Get(1031), value)
and using language string 1031 isn't appropriate for this case of SetPath IMHO.

scott s.
.
Reply
#2
makes sense... https://github.com/xbmc/xbmc/pull/8942
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Thanks. Just a small thing but I was kind of surprised first time I encountered it.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
FileBrowser heading label from Skin.SetPath0