Current path
#1
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.
Reply
#2
Don't you have to use two commas?

ie ListItem.Path,,<foldername>
Reply
#3
ListItem.path should be enough, e.g. "$INFO[listitem.path]poster.jpg".

€2: use <label>$INFO[ListItem.path]</label> ... works here.
Reply
#4
`Black Wrote:ListItem.path should be enough, e.g. "$INFO[listitem.path]poster.jpg".

€2: use <label>$INFO[ListItem.path]</label> ... works here.

does not work while browsing music try going

MUSIC --> ARTISTS --> ALBUMS (But DO NOT GO INTO SONGS)

i need the album folder path to display ie
/VOLUMES/MUSIC/COLDPLAY/PARACHUTES/ (PARACHUTES is the highlighted album)

does not for me it blank, but as soon as go into songs the full path displays
Reply
#5
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.
Reply
#6
ok i have submitted a trac ticket for it.

http://trac.xbmc.org/ticket/6971
Reply
#7
Why do you want this anyway? What purpose does it serve?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#8
jmarshall Wrote:Why do you want this anyway? What purpose does it serve?

Do you really need to ask ? they more than likely want it so they can use a hacky way to load other external images into the view like aeon does with the video library views and multiplex
Reply
#9
Quite likely, but I was thinking there might be something more useful that this would help.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#10
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
Reply
#11
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 ?
Reply
#12
yep, i'd also like to see fanart when browsing the library by album.
hope it gets implemented someday.

there's a feature request on track for this:
http://trac.xbmc.org/ticket/6782
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
#13
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).
Reply
#14
`Black Wrote: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).

And for the exact same reasons I posted onthe first page the season folders arn't real folders you don't need them for them to show in the library
Reply
#15
Nevertheless it should be possible to get a e.g. "s01-fanart.jpg", "s02-fanart.jpg", ... and show it in the season and episode section or not? Same for the album section... I think there don't need to be listitem.path for seasons & albums as you said they are not real folders but fanart would be nice. Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Current path0