how can we convert "Player.Folderpath" to "Container.Folderpath" ?
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.
neither of those are possible as far as i know.
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.
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
how can we convert "Player.Folderpath" to "Container.Folderpath" ?00