Posts: 17,390
Joined: Aug 2007
Reputation:
583
Hitcher
Team-Kodi Member
Posts: 17,390
Easier than a whole string of checks.
Thanks.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
would be a welcome addition indeed :-)
Posts: 672
Joined: Aug 2010
Reputation:
13
pieh
Retired Team-Kodi Member
Posts: 672
Wasn't looking into it yet, but I remember Arcanthur in Fussion was using IsFolder check to determine if item is set - do we need additional infobool just for sets? If it will be needed I'll add it, just checking if this isn't redundant.
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
My previous forum/trac nickname: grajen3
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
IsFolder works fine in the movie-library, but when browsing movie-files
every listitem is treated as a folder.
as Hitcher mentioned, we need to add another set of conditions to compensate for that.
i currently need to use:
<visible>ListItem.IsFolder + !stringcompare(ListItem.Label,..) + SubString(Container.Folderpath,videodb://,left)</visible>
so yes, IsSet would simplify things a lot.
Posts: 17,390
Joined: Aug 2007
Reputation:
583
Hitcher
Team-Kodi Member
Posts: 17,390
2011-09-27, 15:58
(This post was last modified: 2011-09-27, 16:15 by Hitcher.)
Plus speed things up I'm guessing.
And while I'm at it - anyone else think ListItem.IsBack (ie the parent folder button) would be useful because again we currently use a StringCompare which is slower?
Cheers.
Posts: 214
Joined: Jul 2010
Reputation:
6
+1 for this, I am modding Fusion and a lot of other things is showing up as sets if I don't add all that other crap. ListItem.IsSet would simplify things alot ;D
Posts: 3,660
Joined: Feb 2008
Reputation:
93
Jeroen
Team-Kodi Member
Posts: 3,660
+1 on both suggestions, would clean up quite a lot of hackery stuff.
Posts: 672
Joined: Aug 2010
Reputation:
13
pieh
Retired Team-Kodi Member
Posts: 672
I think this will quickly get out of control - we need better approach than adding zillions of ListItem.Is*** infobools
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
My previous forum/trac nickname: grajen3
Posts: 3,919
Joined: Jul 2010
Reputation:
154
BigNoid
Team-Kodi Member
Posts: 3,919
For sets it would be logical if there was a container.content(sets) as it's a separate entry in the library.
That would probably not work when container.content(movies) is already active.
Posts: 17,390
Joined: Aug 2007
Reputation:
583
Hitcher
Team-Kodi Member
Posts: 17,390
Container.Content(sets) is something JM was working on but is no use when in movie titles.
Posts: 3,919
Joined: Jul 2010
Reputation:
154
BigNoid
Team-Kodi Member
Posts: 3,919
And I want to add another thing that i have to apply hacks to get it to work...with linked movies to tv shows. It's a real pain to get the proper layout for movies inside the container.content(seasons) and container.content(episodes).