INTERACT FORUM
More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: mcj008 on September 21, 2013, 03:35:26 am
-
Hello, this is the code I copied from the Wiki
ifelse(isequal([media type], Audio), Le Tunes, isequal([media type], Video]), Flix)
I changed it to do this:
ifelse(isequal([media type], Audio), [Name], isequal([media type], Image]), [Album])
for my audio files it works, it outputs the name, but for the image files it outputs ".jpg" so nothing, eventough there is an Album name for the images...what's wrong here?
Edit: I made 2 calculated fields, then it worked...thanks!
-
Good spot. You've found a typo in the expression page example.
This
ifelse(isequal([media type], Audio), Le Tunes, isequal([media type], Video]), Flix)
should be:
ifelse(isequal([media type], Audio), Le Tunes, isequal([media type], Video), Flix)
I've corrected it.
-
Cool thanks, It's usefull...I dear to say that I came across other things in the wiki that I found not working like was said, but that could be me... ;D
-
Cool thanks, It's usefull...I dear to say that I came across other things in the wiki that I found not working like was said, but that could be me... ;D
From the same page? If so, don't be coy - share away! :-)