It is currently May 1st, 2024, 7:11 am

nowplaying bug?

Get help with creating, editing & fixing problems with skins
User avatar
UnforgivenRevival
Posts: 310
Joined: June 7th, 2012, 2:25 am
Location: Philadelphia, PA

Re: nowplaying bug?

Post by UnforgivenRevival »

A ha! it was the numbers in the folder name causing the problem. Renamed the folder to blackbar and it all works right now. Thanks for the help! been going bonkers on this for days now.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: nowplaying bug?

Post by Kaelri »

UnforgivenRevival wrote:So if I remove the numbers from the folder names, it should work?
On your system, yes. However, I would still recommend a different method if you're going to release the skin publicly. There's no way to know whether some users have numbers in their folder names. They could have a number in their Windows username (as in C:\Users\User###). They could be using a custom Skins folder. Or they could be running Rainmeter as a portable program, which means the folder names could be literally anything.

What I would do is:

Code: Select all

[MeasureStateButton]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasurePlayer]
PlayerType=STATE
Substitute="0":"Play","1":"Pause","2":"Play"

...

[PlayPause]
Meter=Image
MeasureName=MeasureStateButton
ImageName=#@#Icons\%1#IconColor#.png
...
User avatar
UnforgivenRevival
Posts: 310
Joined: June 7th, 2012, 2:25 am
Location: Philadelphia, PA

Re: nowplaying bug?

Post by UnforgivenRevival »

Good tip. I never even thought about that. I will do just that. Thanks again! :)