Alternative to StringIsEqual boolean for non-focused panel items
#1
I've got a little animation that displays over an artist's or album's artwork in my music library when a song from that artist or album is playing. It works fine in most of my views. You can see it in the video below.

https://cl.ly/7b69c7df1948

As you can see at the end of the clip, it's not working for my panel view, the reason being that the visibility condition is based on a String.IsEqual boolean and those only work for focused items in panel views according to the Skinning Manual.

xml:
<visible>[Container.Content(artists) + String.IsEqual(ListItem($PARAM[position]).Artist,MusicPlayer.Artist)] | [Container.Content(albums) + String.IsEqual(ListItem($PARAM[position]).Album,MusicPlayer.Album)]</visible>

So the question I have is, does anyone know how I can identify in a panel view if a non-focused listitem matches what is currently playing in the music/video player?
Reply


Messages In This Thread
Alternative to StringIsEqual boolean for non-focused panel items - by realcopacetic - 2020-03-09, 02:43
Logout Mark Read Team Forum Stats Members Help
Alternative to StringIsEqual boolean for non-focused panel items0