Skip to content

For those who don't want to run spotifyd with systemd and are also using spotify-tui. There's a tiny script that starts the daemon before launching spt

Notifications You must be signed in to change notification settings

emmanuelvlad/spotifyd-tui.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Start (and stop) the spotifyd daemon with spotify-tui.
+ Shortcut commands and handling spotify's URLs for command play

First steps

Clone it in the directory of your choice
You could also just download the .sh file, but you can keep it up to date by doing a git pull
gcl https://github.com/emmanuelvlad/spotifyd-tui.sh.git $HOME/Documents/scripts

Make the script executable
chmod +x $HOME/Documents/scripts/spotifyd-tui.sh/spotify.sh

Create an alias to the script
Add this in your $HOME/.zshrc or .bashrc
alias sptf=$HOME/Documents/scripts/spotifyd-tui.sh/spotify.sh

Usage

sptf Starts the daemon with spt

Available commands

sptf t, toggle              Pause/Resume the song  
sptf n, next [number]       Next song, can use \"nnnnnn\" instead of \"n 6\"  
sptf p, previous [number]   Previous song, can use \"ppp\" instead of \"p 3\"  
sptf v, volumne <number>    Adjust volumne  
sptf shuffle                Toggles shuffle mode  
sptf repeat                 Switches between repeat modes  
sptf like                   Likes the current song if possible  
sptf dislike                Dislike the current song if possible  
sptf album                  Prints the album url  
sptf link                   Prints the song url  
sptf now                    Prints the status of the current song  
sptf stop                   Stops the spotifyd daemon  
sptf play <uri|name> [opts] Plays from a valid URI or calls `spt` to handle it

About

For those who don't want to run spotifyd with systemd and are also using spotify-tui. There's a tiny script that starts the daemon before launching spt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages