I have a bar visualizer inside my spotify dedicated webnowplaying skin.
The visualizer get's its data from the AudioLevel plugin
Since the AudioLevel plugin detects ALL sounds I want to stop the measure based on the conditions of (Play/Pause) from WebNowPlaying measure [MeasurePlayPause] like:
So when I "Pause" the player the visualizer should stop displaying the bars since the measure has been disabled, but this does not work
Other sounds from the computer are still triggering the visualizer.
JamX wrote: ↑August 1st, 2020, 7:25 pm
Anybody an idea?
Yep. The IfConditions are mistaken in your code. IfCondition=2 and IfCondition2=1 I suppose should have to be IfCondition=(#CURRENTSECTION#=2) and IfCondition2=(#CURRENTSECTION#=1) accordingly. Try replace them and let us know if this helped.
JamX wrote: ↑August 1st, 2020, 7:55 pm
I suppose #Currentsection# is the same as addressing the measure name by itself.
Yes, #CURRENTSECTION# returns always the name of the section where it is used. In your case, if it is used into the [MeasurePlayPause] measure, #CURRENTSECTION# represents MeasurePlayPause.
I'm glad if you got it working.