More > JRiver Media Center 31 for Windows
File Info
(1/1)
Purecut:
Hi everybody,
I have a problem showing a icon in the info panel if a movie contains "Dolby Vision".
Therefore I have a field "Dolby Vision" that will be filled like this:
--- Code: ---ListContains([HDR Format],DolbyVision)
--- End code ---
This will work. If the HDR Fomrat field contains "DolbyVision" the field Dolby Vision shows "1" or "0".
When I use this information in the Tooltip field like this:
--- Code: --- If(isEqual([Dolby Vision],1,8),<img src="tooltip:\Video\dolby-vision" height="25">,)
--- End code ---
Nothing will be displayed.
What am I doing wrong?
lepa:
Try removing \ before video. I think it is not needed if you use tooltip:
--- Code: ---If(isEqual([Dolby Vision],1,8),<img src="tooltip:Video\dolby-vision" height="25">,)
--- End code ---
Using isEqual is perfectly fine but if you like and as [Dolby Vision] is empty vs 1 field you can also just check against raw value [Dolby Vision,0] meaning if there is a value in [Dolby Vision] then If return true i.e 1
--- Code: ---If([Dolby Vision,0],<img src="tooltip:Video\dolby-vision" height="25">,)
--- End code ---
or user isEmpty negative check
--- Code: ---If(IsEmpty([Dolby Vision]),,<img src="tooltip:Video\dolby-vision" height="25">)
--- End code ---
Purecut:
Thanks - working :-)
Navigation
[0] Message Index
Go to full version