This looks like you're trying to substitute your actual Pause.png path with the paths to Play.png or Pause.png, instead of replacing the numerical 0, 1 or 2 values of the PlayerType=State measure. Check these and you'll understand what happens (I replaced the NowPlaying measures with some Calc and String ones, simply to replicate various results):Player.ini - Snipped to the MeasureStateButton portion for brevityCorrect Response - File path for the Stopped/Paused stateCode:
[MeasureStateButton]Measure=PluginPlugin=NowPlayingPlayerName=#Player#PlayerType=STATESubstitute="0":"#@#Play.png","1":"#@#Pause.png","2":"#@#Play.png"
Wrong Response - File path for the Play stateCode:
\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png
I have a workaround which is to hardcode the Play state file path but I rather avoid hardcoding things.Code:
\\19\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png.168.XXX.\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png0\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Pause.png
Any ideas how to fix this? Thanks.
Code:
[Good1]Measure=CalcFormula=2Substitute="0":"\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png","1":"\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Pause.png","2":"\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png"[Good2]Measure=CalcFormula=2RegExpSubstitute=1Substitute="^0$":"\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png","^1$":"\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Pause.png","^2$":"\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png"[Bad1]Measure=StringString="\\192.168.XXX.202\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Pause.png"Substitute="2":"\\192.168.XXX.XXX\XXXData\Documents\Rainmeter\Skins\Mond\@Resources\Play.png"
Statistics: Posted by Yincognito — Today, 6:46 pm