Spotify skin for Rainmeter
Update: This is deprecated and might not work anymore. It might show the song but I doubt the controls work any longer. Please use the Spotify skin included in rainmeter (gnometer) instead, unless you want to debug and fix the controls yourself.
I was lacking the feature of a Spotify skin for Rainmeter, so I edited the winamp skin made by Kaelri to work with Spotify.
I found out that you can’t use the sendMessage function in Rainmeter to control Spotify, as Spotify didn’t work that way. According to some C++ tutorials, you can send keystrokes to Spotify using winAPI. As I only know java, I tried doing it using JWinAPI and later JNA, but the first one only worked when no song was playing, and the latter had barely any documentation at all. So after some search I found spotifycmd by Mattias Runge that let you control Spotify from the CMD. So I compiled the C++ source, edited the winamp skin, and got a fully working skin
. Unfortunately, there is no time or progress-bar, as I don’t believe it can be returned from Spotify with winAPI.
Instructions
Download the file, extract it to Rainmeter/skins/Enigma/Music/
If you want Spotify to start/open when you click on the title, add this to spotify.ini, under the option [Track]
LeftMouseDownAction=!Execute ["C:\Program Files (x86)\Spotify\spotify.exe"]
Edit the path after your own needs
Download
Spotify for Rainmeter (12.8 KiB, 6,725 hits)
Recent Comments