How to fix the spotify controls are not working issue for the time being, I would not recommend fully releasing a skin with these fixes for the time being to prevent confusion on why it is still not working or to encourage them to get premium because the reason you get that should be to support artists you like not Spotify's poor business decisions, I should have a fix for everyone else soon.
Warning giant wall of text that is a mess incoming (Writing something that is not code was never my strong suite and I have a tendency to use parenthesis a lot (Sometimes even inside another parenthesis pair)(At least I always close both, your welcome)) if you have a more advanced knowledge of rainmeter you can basically skip to the end for the list of bangs that SpotifyPlugin supports and just update your skin to have your bangs point to a SpotifyPlugin measure.
Note: This will only work for Spotify premium users as should not be used in any skin for others to download
I plan on trying to get around to fixing it for everyone else tomorrow if spotify does not beat me to it
Edit: looks like they are aware of it now and it should just be waiting for the next spotify update.
I don't want to encourage folks to switch to premium over this but if you already have it you might as well know how to fix it. For everyone else I can make a hotfix like I did last time that will make it work for everyone but that will take a few hours.
How to fix:
Fix is gonna be kinda an easy one as most of the commands are the same as normal so long as you have premium. Go on ahead and right click the affected skins and go to edit skin. All you should need to do is find the measure the bangs are being sent to, the bangs we are looking for will be in a different place for every skin but they should look something like this:
Code: Select all
LeftMouseUpAction=[!CommandMeasure MeasureState "Previous"]
So to fix it I need to locate the measure it is being sent to (Likely all the commands will be sent to the same measure so once we find one we should be good to go) So in this case (And for a lot of other skins) I need to find a measure named MeasureState in my skin.
If you can not find that measure in the skin file it is being included from some other file, files can be included by using a @include so you will want to try going through those files to find it, however most of the time it will be rather obvious which one contains controls or general measures, in this case I know that MeasureState is in the file included above by the line:
Code: Select all
@include2=#@#include\Measure#MPMode#.inc
So to find that file (And likely all the other included files) if I go to the skins directory (Typically found it documents) I just need to follow that folder path (#@# stands for the @resouces directory of the skin), for most includes it will be under
SKINPATH\@resources\include\ it is then pretty obvious which file we are looking for as it is called MeasureSpotify.inc (The #MPMode# is a variable that holds your player name in the example)
If we open that file up now we will find our measure we were looking for right at the top
Code: Select all
[MeasureState]
Measure=Plugin
Plugin=NowPlaying
Playername=Spotify
PlayerType=State
UpdateDivider=10
As you can see if is using the NowPlaying plugin which is broken right now, so we just need to make it use the spotify plugin. If we also would like our play state to continue working we should also probably change the options a little to (See first page to find equivalent options), we only need to change this one measure and I should note that note that this may cause you skin to stop being able to open and close spotify depending on how they did it.
Our new measure should now look like
Code: Select all
[MeasureState]
Measure=Plugin
Plugin=SpotifyPlugin
Type=Playing
UpdateDivider=10
Go on ahead and save the file and refresh the skin and you are done (Repeat the above steps for any other skins that have stopped working that you want to fix.
List of some of the undocumented commands:
playpause
play
pause
next
previous
volume ### where ### is a number between 0-100
setposition ### where ### is a number between 0-100
There is also a shuffle and repeat command that do not work in a easy way and I would not recommend using them because I am going to see if .raptor wants to change it which will break everything that currently does use it.