Skip to content

WebNowPlaying Spotify

Marco Vockner edited this page Oct 23, 2020 · 11 revisions

Spotify is no longer directly supported by Rainmeter because of an internal change of the desktop application which no longer allows to get metadata directly from the application anymore. This guide will help you to regain that functionality on the desktop client with the help of two tools (WebNowPlaying & spicetify-cli) created by fellow Rainmeter members @tjhrulz and @khanhas.

Requirements

  • Spotify Desktop (not the Windows Store version)
  • Rainmeter skin with WebNowPlaying support
  • Basic reading skills

Installation

Follow the installation instructions for spicetify-cli here: https://github.com/khanhas/spicetify-cli/wiki/Installation

This will install spicetify-cli on your machine which we need to get access to Spotify. With this program you can also modify the design of Spotify, add new features and more but for our purposes, we will just enable the WebNowPlaying extension and disable all customizations.

Now you have to enter

spicetify

to initialize the application and then enter

spicetify config extensions webnowplaying.js

to enable the WebNowPlaying extension in the config. This will add the required Javascript code to the Spotify application which essentially acts as a bridge between Spotify and Rainmeter and allows us to communicate with the app.

If you don't want the design customizations (example screenshot), you can disable them with this command:

spicetify config inject_css 0 replace_colors 0

To finish the installation, enter the following command to backup the Spotify application data and apply the changes made by spicetify-cli:

spicetify backup apply

After applying, Spotify should restart and it should work instantly.

Clone this wiki locally