Condition visible Based on Track-Year

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
donabi Offline
Senior Member
Posts: 295
Joined: Apr 2006
Reputation: 3
Location: germany
Post: #1
Hi folks,

is it possible to show a specific Cd-Art ONLY if the Track is older than 1988?
i would like to display a fallback for tracks, which don't have a CD-Art AND are older than 1988.
I'm thinking of an old LP [Image: schallplatte.jpg]

By now i have ONE fallback for ALL tracks without CD-Art.

http://www.xbmcnerds.com - german xbmc community
find quote
ronie Online
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #2
from the top of my head and untested, but something like this should do it:

Code:
<visible>!IntegerGreaterThan(ListItem.Year,1987)</visible>

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or 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.
find quote
donabi Offline
Senior Member
Posts: 295
Joined: Apr 2006
Reputation: 3
Location: germany
Post: #3
yep. works.
i've used
<visible>IntegerGreaterThan(MusicPlayer.Year,1990)</visible>

thanks.

http://www.xbmcnerds.com - german xbmc community
find quote