Kodi Community Forum
".." label - 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: ".." label (/showthread.php?tid=110029)



".." label - pecinko - 2011-09-13

Can it be made so that root label (or ".." or parent folder) does not return any additional info like TrackNumber, plot at a season level...

On the other hand using ListItem.Title should return ".." , same as with ListItem.Label


- Jezz_X - 2011-09-13

the first part it probably already shouldn't except for the Container.Blah stuff
the second probably not going to happen because .. is its label not its title. And really people shouldn't be using listitem.title in lists anyway since when your in the library its what listitem.label gets set to anyway unless its not supposed to be


- pecinko - 2011-09-13

Regarding the second part: alright I admit, I was trying to hack it.

Let me try the nice way - can default sorting of SONGS content type be

- TrackNumber. Song Title

instead of

- TrackNumber. Artist - Song Title

We already have sorting by Artist as an option and titles get truncated with default sorting because of Artist name being added.


- igotdvds - 2011-09-13

pecinko Wrote:Can it be made so that root label (or ".." or parent folder) does not return any additional info like TrackNumber, plot at a season level...

On the other hand using ListItem.Title should return ".." , same as with ListItem.Label

I use this to hide info when "root" is focused.

Code:
<visible>!stringcompare(ListItem.Icon,DefaultFolderBack.png)</visible>



- ronie - 2011-09-13

pecinko Wrote:Regarding the second part: alright I admit, I was trying to hack it.

Let me try the nice way - can default sorting of SONGS content type be

- TrackNumber. Song Title

instead of

- TrackNumber. Artist - Song Title

We already have sorting by Artist as an option and titles get truncated with default sorting because of Artist name being added.

have you checked the 'Track Naming Template' in Settings > Music > File Lists ?

i think that's what you need to use instead of hacking the skin...


- pecinko - 2011-09-14

Omg... I always thought those are tag reading related. Thanks mate.