Posts: 768
Joined: Feb 2009
Reputation:
0
hi guys,
it there a way i can get the current path your browsing (in Library mode), i have tried "listitem.path" (only seems to work on files not on folders & "Container.FolderPath" but this points to the database, not the actual folder on volumes, if this is not possible i would setting for access to the "strPath" string in the database but i have no idea on how the get this info into a label in the skin.
thanks.
Posts: 17,418
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,418
Don't you have to use two commas?
ie ListItem.Path,,<foldername>
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
2009-07-28, 17:27
(This post was last modified: 2009-07-28, 17:34 by `Black.)
ListItem.path should be enough, e.g. "$INFO[listitem.path]poster.jpg".
€2: use <label>$INFO[ListItem.path]</label> ... works here.
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Album folder path as well as season folder path is unfortunately not working... needs to be fixed but I don't know if there are plans to fix it.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Why do you want this anyway? What purpose does it serve?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Quite likely, but I was thinking there might be something more useful that this would help.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
I'd also like to point out the reason it doesn't work in the library for the albums is they are not real folders. They are nodes in a database Just because you have a node for an album does not mean that there is a real folder with that name in the source location.
Its all based on ID3 (and other) tags not real life folder names. And even if you are so anal about orginizing your music into all the right folders dependng on which node you enter into the library the depth is different again.
Not to mention that 1 album in the library could quite possible be made up of any number of real folders if they all have tags for the same album
Posts: 768
Joined: Feb 2009
Reputation:
0
2009-07-29, 12:33
(This post was last modified: 2009-07-29, 12:37 by andyblac.)
yes it is true that's what i'm after, because at the moment there is no way of getting album fanart, i have "hacked" way for this once your inside the album (container songs), i would like to get the fanart working like it does for artist (shows fanart whilst your browsing)
also for albums is in the database, i checked with SQLite, it is file section, under "strPath" could we not just pull this then ? if it in the database could you map it to the listitem ?
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Besides the album fanart it would also nice to have different fanarts for seasons. There's only the main fanart at the moment and it's only possible to have a different fanart in the episode view (with listitem.path).