This script pauses playback after a certain amount of time. It is a faithful recreation of the feature from mobile Spotify
- Install Spicetify and set it up according to the instructions.
- Navigate to your Spicetify config directory via the command
spicetify config-dir
. - Download sleepTimer.js and place it in
/extensions
. - Run
spicetify config extensions sleepTimer.js
andSpicetify apply
in terminal.
Click on the stopwatch icon on the playbar to open the selection menu, then select what time you want the music to stop after.
This extensions code is pretty bad, there might be a lot of small bugs but the base functionality should stay consistent and unbreaking.