Kodi Community Forum
Request infolabels - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Request infolabels (/showthread.php?tid=140378)



Request infolabels - adrian ballard - 2012-09-12

This seems like the place to ask so...

Suggestion for a new InfoLabel:

Similar to ListItem.Path except that it would always return the topmost folder and path.

Example:
Currently, ListItem.FileNameAndPath returns: C:\TEST FILES\TV SHOWS\X-Files, The\Season 09\The X-Files.09x09.mkv
So, from the episode level, Listitem.Path returns C:\TEST FILES\TV SHOWS\X-Files, The\Season 09\
But from the Season or TVShows level, Listitem.Path returns C:\TEST FILES\TV SHOWS\X-Files, The\

New InfoLabel would always return: C:\TEST FILES\TV SHOWS\X-Files, The\
no matter if Container.Content is TVShows, Seasons, or Episodes.

I looked into the database structure and this looks possible.
Reason for the request: Make it simple to implement multiimage fanart at the episode level while end-users can use Season folders [or not] in their folder structure but the skin would work either way.


RE: Request infolabels - Martijn - 2012-09-12

I split your post to a new thread because where you posted was only for actual changes and not requests