Kodi Community Forum

Full Version: Identify movie sets...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've looked in the Wiki and forum, however unless my eyes fail me, i can't any info on this one!

Is there any condition i can use to identify movie sets... maybe something like 'Container.Content(set)'?

Cheers
To identify a set or to identify that you're inside a set?
To identify a set

Cheers!
(2012-05-10, 12:08)liquidskin76 Wrote: [ -> ]To identify a set

Cheers!

Maybe this answers your question.

http://forum.xbmc.org/showthread.php?tid...pid1092263

Cheers
Sets are folders, so that's one criteria you can use.
SubString(ListItem.Path,videodb://1/7) maybe?
I can't seem to get either to work. Basically i want to hide certain items when a movie set has focus in a list (not when i'm in the movie set).

Suppose i could just use !IsEmpty(ListItem.Plot) as moviesets doesn't display a plot.
(2012-05-10, 12:27)jmarshall Wrote: [ -> ]Sets are folders, so that's one criteria you can use.

So are my "favorite" ".." items so you would need to go

Conainer(movies) + isfolder + isNot".." to make it work with folder check.
<visible>!ListItem.IsFolder</visible>

(2012-05-10, 12:54)liquidskin76 Wrote: [ -> ]I can't seem to get either to work. Basically i want to hide certain items when a movie set has focus in a list (not when i'm in the movie set).

Suppose i could just user !IsEmpty(ListItem.Plot) as moviesets doesn't display a plot.

Search this thread and you will find previous discussion (listitem.isset) and working solution I'm not at able to passa link to it ATM.
(2012-05-10, 13:00)butchabay Wrote: [ -> ]<visible>!ListItem.IsFolder</visible>

That seems to have done the trick.

Cheers
for plot with movieSet

Code:
ListItem.IsFolder + !IsEmpty(Container(7000).ListItem.Property(IsSet))
Code:
<label>$INFO[Container(7000).ListItem.Plot]</label>
(2012-05-10, 16:32)fmronan Wrote: [ -> ]for plot with movieSet

Code:
ListItem.IsFolder + !IsEmpty(Container(7000).ListItem.Property(IsSet))
Code:
<label>$INFO[Container(7000).ListItem.Plot]</label>

But here you're refering only if using moviesets addon.
(2012-05-10, 13:02)pecinko Wrote: [ -> ]
(2012-05-10, 12:54)liquidskin76 Wrote: [ -> ]I can't seem to get either to work. Basically i want to hide certain items when a movie set has focus in a list (not when i'm in the movie set).

Suppose i could just user !IsEmpty(ListItem.Plot) as moviesets doesn't display a plot.

Search this thread and you will find previous discussion (listitem.isset) and working solution I'm not at able to passa link to it ATM.

http://forum.xbmc.org/showthread.php?tid=111057