Kodi Community Forum
Identify movie sets... - 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: Identify movie sets... (/showthread.php?tid=131203)



Identify movie sets... - liquidskin76 - 2012-05-10

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


RE: Identify movie sets... - jmarshall - 2012-05-10

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


RE: Identify movie sets... - liquidskin76 - 2012-05-10

To identify a set

Cheers!


RE: Identify movie sets... - butchabay - 2012-05-10

(2012-05-10, 12:08)liquidskin76 Wrote: To identify a set

Cheers!

Maybe this answers your question.

http://forum.xbmc.org/showthread.php?tid=126502&pid=1092263#pid1092263

Cheers


RE: Identify movie sets... - jmarshall - 2012-05-10

Sets are folders, so that's one criteria you can use.


RE: Identify movie sets... - ronie - 2012-05-10

SubString(ListItem.Path,videodb://1/7) maybe?


RE: Identify movie sets... - liquidskin76 - 2012-05-10

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.


Identify movie sets... - pecinko - 2012-05-10

(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.


RE: Identify movie sets... - butchabay - 2012-05-10

<visible>!ListItem.IsFolder</visible>




Identify movie sets... - pecinko - 2012-05-10

(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.


RE: Identify movie sets... - liquidskin76 - 2012-05-10

(2012-05-10, 13:00)butchabay Wrote: <visible>!ListItem.IsFolder</visible>

That seems to have done the trick.

Cheers


RE: Identify movie sets... - fmronan - 2012-05-10

for plot with movieSet

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



RE: Identify movie sets... - butchabay - 2012-05-10

(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.



RE: Identify movie sets... - pecinko - 2012-05-10

(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