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.
-
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.
-
songchange: Triggered when the track changes. -
playpause: Triggered when playback is toggled. -
progress: Periodic updates of the current timestamp in the song.
-
pause: Pauses playback. -
play: Resumes playback. -
next: Skips to the next track. -
prev: Goes back to the previous track/start of song.
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.
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.
