Container.Folderpath returns a string in format like "musicdb://3"(for example).
Player.Folderpath returns a string in format like "/media/dirname1/dirname2" (for example).
when we are playing a song from any folder in xbmc for ex: from Artists->artistname1->albumname3->song2
now we view some other folder suppose Albums , which is displaying all albums.
Since the music player is playing a song , we can query $INFO[Player.Folderpath] which will return like
but now I want it's related Container.Folderpath how can I get that.
because In my skin I want that clicking on album art of the playing song should open same album in front of user to select other song from same album.
So the question is how can we convert "Player.Folderpath" to "Container.Folderpath" ?
If it is not possible then please tell me how can we know the event when user starts playing a song , because may be that time I will be able to store "Container.Folderpath" with in a skin.string variable which can be used later?
Thanks For Help.
how can we convert "Player.Folderpath" to "Container.Folderpath" ?
Joined: Feb 2012
2012-04-12 15:39 how can we convert "Player.Folderpath" to "Container.Folderpath" ? Post: #1
Joined: Jan 2009
2012-04-12 23:38 Post: #2
neither of those are possible as far as i know.
Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.