Kodi Community Forum

Full Version: listitem is set? or some replacement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I'm trying to put little icon (PNG) in the list of movies, for every movie-set.
so while scrolling in the list - you will see some folder icon when the item is a set.
I have already done it and it work great.

Code:
<texture>movieset.png</texture>
<visible>Container.Content(Movies) + !stringcompare(ListItem.Label,..) + ListItem.IsFolder + !Window.IsVisible(VideoPlaylist)</visible>

using this one.
But a little bug I have, is when I browse to Videos-Files-and select the source for my movies - all the items there have the icon too because they movies,and also folders.
Any Idea what to add to my condition for different between Videos-Files and Libary-Movies ?
Code:
SubString(ListItem.Path,videodb://movies/sets,left)
Great. Thank You Hitcher..