crates.io docs.rs license

Spotify Info

Gets metadata from spotify using a spicetify extension using websockets

I made this mainly for my audio visualizer to have song info display along with it since Windows doesn't offer anyway to do this, on Linux I could use MPRIS, for macOS no idea I don't use it

This will work for all desktop platforms (Windows, Linux, macOS)

Plans

Install/Uninstall Spicetify Extension

Auto Install

Run script to install, uninstall by running it again

Windows

Open PowerShell (Win + S) type powershell and press enter and run this command sh Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/Ricky12Awesome/spotify_info/main/extension/install_extension.ps1" | Invoke-Expression

Linux / macOS

Open Terminal (usually Ctrl + Alt + T on linux) and run this command sh curl https://raw.githubusercontent.com/Ricky12Awesome/spotify_info/main/extension/install_extension.sh | sh

Manual

You can get the extension from here (right-click -> save as)

Place that file to %userprofile%\.spicetify\Extensions\ on Windows or ~/.config/spicetify/Extensions on Linux / macOS

Install

Run command spicetify config extensions spotify_info.js && spicetify apply from the terminal to install the plugin

Uninstall

Run command spicetify config extensions spotify_info.js- && spicetify apply from the terminal to uninstall the plugin

More details about install extensions https://spicetify.app/docs/getting-started/extensions

Use API

Add this to your Cargo.toml dependencies

toml spotify_info = "0.2"

Examples can be found in the examples directory