It is currently October 26th, 2021, 11:36 am

Full Spotify support in Rainmeter

Help with creating, editing & fixing problems with skins
User avatar
death.crafter
Posts: 1070
Joined: April 24th, 2021, 8:13 pm

Full Spotify support in Rainmeter

Post by death.crafter »

Search enhancer tags: #spotify #spotify cover #spotify album #spotify progress #spotify rating #spotify full support #spotify album cover

This solution only works for desktop version of the Spotify client and not the Microsoft Store version.

As you folks already know, or came here for help with, Spotify is not fully supported by Rainmeter's in-built NowPlaying measure. Considering it uses CEF(Chromium Embedded Framework) for it's client, it's more like an in-browser app. So we need a extension called WebNowPlaying added to the Spotify client to get the required data from it.

In order to achieve that, we need a Spotify client enhancer, well it's more than that but we will stick to enhancer, called spicetify-cli by khanhas.

For Rainmeter users, he has a special page in wiki. You can go through that to install spicetify-cli.

Here are links for spicetify-cli: After adding the WebNowPlaying extension to Spotify through spicetify-cli, we need the WebNowPlaying plugin by thjrulz to get the data from Spotify in Rainmeter.

Here are links for WebNowPlaying plugin: WebNowPlaying is almost similar to NowPlaying.
Here is a list of option and commands:
P.S.: For artist, I would recommend using NowPlaying, because with WebNowPlaying you get the Album name too, which is kinda Spotify's fault.
Last edited by death.crafter on August 28th, 2021, 3:57 pm, edited 3 times in total.
from the Realm of Death
My Current Desktop
User avatar
Judian81
Posts: 90
Joined: May 6th, 2021, 2:57 pm

Re: Full Spotify support in Rainmeter

Post by Judian81 »

hey hello,

i was trying to install this addon. did every step you mentioned. and i now can play spotify within my chrome web browser.
the cover image is very low with the pixels. and i ask myself is it spotify or not.
have found out that the web browser plungin also works with youtube. of course you do not see the video but the information is there.

only i have a problem. i use spotify desktop exe and not from the app store.
but when using all the steps you offerd me to do. i get this strange effect in my sportify program.

spotify exe.png

there is nothing more i can do. resize and close spotify is working. but i can not see anything else.
in the rainmeter skin i can not control spotify too. (in chrome browser it is oke. but for spotify desktop client it does nothing)

so i know there is something wrong but i do not know what.
You do not have the required permissions to view the files attached to this post.
windows 10
User avatar
death.crafter
Posts: 1070
Joined: April 24th, 2021, 8:13 pm

Re: Full Spotify support in Rainmeter

Post by death.crafter »

Judian81 wrote: July 15th, 2021, 2:12 pm
Sorry. But it seems latest Spotify doesn't work with spicetify-cli. You can try to downgrade Spotify to 1.1.62.

Follow this thread to pause updates for Spotify.
https://github.com/khanhas/spicetify-cli/issues/845#issuecomment-877558733
from the Realm of Death
My Current Desktop
User avatar
Judian81
Posts: 90
Joined: May 6th, 2021, 2:57 pm

Re: Full Spotify support in Rainmeter

Post by Judian81 »

death.crafter wrote: July 15th, 2021, 3:00 pm
ow oke thanks. i will try your suggestion. and everything to help.
windows 10
User avatar
Judian81
Posts: 90
Joined: May 6th, 2021, 2:57 pm

Re: Full Spotify support in Rainmeter

Post by Judian81 »

hey hello,

i was trying to make use of the webnowplayer extension for spotify.
this is the code i make use of.

Code: Select all

[rainmeter]
Update=1000

[MeasureCoverSpotify]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Cover
DefaultPath=#CURRENTPATH#Default.png
CoverPath=#CURRENTPATH#cover.png

[meterBackground]
Meter=Shape
Shape=Rectangle 0, 0, 188, 188 | Fill Color 255, 255, 255, 255

[MeterCoverSpotify]
Meter=Image
MeasureName=MeasureCoverSpotify
x=0
y=0
h=188
w=188
Text=%1
PreserveAspectRatio=1
i get loads of errors in rainmeter.
Web Side Error:Error updating volume for Spotify
when i use youtube by browser there is no problem.
windows 10
User avatar
death.crafter
Posts: 1070
Joined: April 24th, 2021, 8:13 pm

Re: Full Spotify support in Rainmeter

Post by death.crafter »

Judian81 wrote: August 28th, 2021, 2:02 pm hey hello,

i was trying to make use of the webnowplayer extension for spotify.
this is the code i make use of.

Code: Select all

[rainmeter]
Update=1000

[MeasureCoverSpotify]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Cover
DefaultPath=#CURRENTPATH#Default.png
CoverPath=#CURRENTPATH#cover.png

[meterBackground]
Meter=Shape
Shape=Rectangle 0, 0, 188, 188 | Fill Color 255, 255, 255, 255

[MeterCoverSpotify]
Meter=Image
MeasureName=MeasureCoverSpotify
x=0
y=0
h=188
w=188
Text=%1
PreserveAspectRatio=1
i get loads of errors in rainmeter.



when i use youtube by browser there is no problem.
Have you installed spicetify?
from the Realm of Death
My Current Desktop
User avatar
Judian81
Posts: 90
Joined: May 6th, 2021, 2:57 pm

Re: Full Spotify support in Rainmeter

Post by Judian81 »

death.crafter wrote: August 28th, 2021, 3:57 pm Have you installed spicetify?
i have installed spicetify. now i do not get any error like before and spotify keeps working as normal. but what should it suppose to do? i do not see the cover, possition, duration and progress information when using spicify.
there i need webnowplaying browser extension for. i made use of the google chrome extension and the firefox browser extention. it is still raining errors in the log file of rainmeter.

Edit 1:

but i get the cover, progress, duration and position information like i wanted to. but i think there is something wrong that the bowser extenstion can not get the volume level. and give that as error.
windows 10
User avatar
death.crafter
Posts: 1070
Joined: April 24th, 2021, 8:13 pm

Re: Full Spotify support in Rainmeter

Post by death.crafter »

Judian81 wrote: August 28th, 2021, 4:52 pm i have installed spicetify. now i do not get any error like before and spotify keeps working as normal. but what should it suppose to do? i do not see the cover, possition, duration and progress information when using spicify.
there i need webnowplaying browser extension for. i made use of the google chrome extension and the firefox browser extention. it is still raining errors in the log file of rainmeter.

Edit 1:

but i get the cover, progress, duration and position information like i wanted to. but i think there is something wrong that the bowser extenstion can not get the volume level. and give that as error.
Can you post a bunch of screenshots relying what problems you are facing?
from the Realm of Death
My Current Desktop
User avatar
Judian81
Posts: 90
Joined: May 6th, 2021, 2:57 pm

Re: Full Spotify support in Rainmeter

Post by Judian81 »

death.crafter wrote: August 28th, 2021, 5:06 pm Can you post a bunch of screenshots relying what problems you are facing?
error spotify plugin.png
You do not have the required permissions to view the files attached to this post.
windows 10
User avatar
death.crafter
Posts: 1070
Joined: April 24th, 2021, 8:13 pm

Re: Full Spotify support in Rainmeter

Post by death.crafter »

Judian81 wrote: August 28th, 2021, 5:09 pm error spotify plugin.png
YOu have configured spicetify to implement webnowplaying.js right?

https://github.com/khanhas/spicetify-cli/wiki/Guide-for-Rainmeter-user
from the Realm of Death
My Current Desktop