INTERACT FORUM
More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: Purecut on July 15, 2023, 06:37:53 am
-
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:
ListContains([HDR Format],DolbyVision)
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:
If(isEqual([Dolby Vision],1,8),<img src="tooltip:\Video\dolby-vision" height="25">,)
Nothing will be displayed.
What am I doing wrong?
-
Try removing \ before video. I think it is not needed if you use tooltip:
If(isEqual([Dolby Vision],1,8),<img src="tooltip:Video\dolby-vision" height="25">,)
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
If([Dolby Vision,0],<img src="tooltip:Video\dolby-vision" height="25">,)
or user isEmpty negative check
If(IsEmpty([Dolby Vision]),,<img src="tooltip:Video\dolby-vision" height="25">)
-
Thanks - working :-)