Identify movie sets...

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
liquidskin76 Offline
Skilled Skinner
Posts: 1,358
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #1
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

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,181
Joined: Oct 2003
Reputation: 176
Post: #2
To identify a set or to identify that you're inside a set?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,358
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #3
To identify a set

Cheers!

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
butchabay Offline
Skilled Skinner
Posts: 3,740
Joined: Mar 2010
Reputation: 73
Location: Planet Crematoria
Post: #4
(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
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,181
Joined: Oct 2003
Reputation: 176
Post: #5
Sets are folders, so that's one criteria you can use.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
ronie Offline
Team-XBMC Member
Posts: 9,097
Joined: Jan 2009
Reputation: 157
Post: #6
SubString(ListItem.Path,videodb://1/7) maybe?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-XBMC members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,358
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #7
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.

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
(This post was last modified: 2012-05-10 13:00 by liquidskin76.)
find quote
pecinko Offline
Donor
Posts: 3,724
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #8
(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.

My skins:

Amber
Quartz

(This post was last modified: 2012-05-10 12:58 by pecinko.)
find quote
butchabay Offline
Skilled Skinner
Posts: 3,740
Joined: Mar 2010
Reputation: 73
Location: Planet Crematoria
Post: #9
<visible>!ListItem.IsFolder</visible>
find quote
pecinko Offline
Donor
Posts: 3,724
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #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.

My skins:

Amber
Quartz

find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,358
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #11
(2012-05-10 13:00)butchabay Wrote:  <visible>!ListItem.IsFolder</visible>

That seems to have done the trick.

Cheers

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
fmronan Offline
Fan
Posts: 600
Joined: Dec 2010
Reputation: 4
Post: #12
for plot with movieSet

Code:
ListItem.IsFolder + !IsEmpty(Container(7000).ListItem.Property(IsSet))
Code:
<label>$INFO[Container(7000).ListItem.Plot]</label>
find quote
butchabay Offline
Skilled Skinner
Posts: 3,740
Joined: Mar 2010
Reputation: 73
Location: Planet Crematoria
Post: #13
(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.
find quote
pecinko Offline
Donor
Posts: 3,724
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #14
(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

My skins:

Amber
Quartz

find quote