Skip to content

IgnoredSoul/SpotPlug

Repository files navigation

SpotPlug

SpotPlug is an extension for Spicetify that creates a socket connection between Spotify and a server. It enables the control and monitoring of your Spotify playback externally.

Features

  • Connects Spicetify directly to a local socket server.

  • Automatically sends data to your server when things change.

  • Accept commands from your server to control playback.

Communication

Client to Server (Outbound)

  • songchange: Triggered when the track changes.

  • playpause: Triggered when playback is toggled.

  • progress: Periodic updates of the current timestamp in the song.

Server to Client (Inbound)

  • pause: Pauses playback.

  • play: Resumes playback.

  • next: Skips to the next track.

  • prev: Goes back to the previous track/start of song.

Configuration

You can find the settings directly within Spotify's Preferences menu:

  • Enable Client: The the socket connection on or off.

  • Port: Set the specific local port for the socket server.

  • Progress Interval: Adjust how frequently the progress event is sent.

FAQ

Why did you make this?

Since Spotify decided to lock their API behind a Premium sub and fucked the community off,
my 'now playing' overlay doesn't work anymore due to not being able to use their API.

How do I use this?

You can use example python socket server and expand from there.


About

Socket.io-client Spicetify extension

Topics

Resources

Stars

Watchers

Forks

Contributors