Skip to content

k3lseytaylor/Spoty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spoty

Basic Mac Terminal Spotify Controler zsh

Alt text

Be Gentle

This was originally built for personal use because i was getting tired of switching to the application mid coding session and is sharing here because of intrest from friends code needs clean up be gentle

Usage:

download the script add source ~/Path/To/Spoty.zsh to your .zshrc file and should be able to start using it
e.g. source ~/Desktop/spoty/Spoty.zsh

Planned Feature:

  • Play music by giving it song name or song name & artist name and pulling the track id using Spotify API and passing it to the application or calling the API to directly play (tho id figure this would cause some problems) another issue is that if i use the API friends and what not would have to go thru the whole proccess of setting up the API on their own machine

  • returns a artist top songs and lets u pick what to play (same issue as above would need to use API)

  • Update terminal tab with song title automaticly | cron job? while loop + sleep ?
    currently it only updates when u call a basic play command

Commands

If spoty is runned with out an argument it will toggle Play/Pause or if the application is close it will open it

Basic Play Commands Details
spoty Must call the commands below with spoty in front e.g. spoty -n
-t Quits/Activates Spotify.
-n Changes to Next Song.
-b Changes to Previous Song
-c Shows Current Song Playing.
-s Toggles shuffle on and off.
-r Toggles repeat on and off.
-sp [song URI] Play URI link song (Track ID)

Controls Spotify Application Volume

Volume Commands Details
-v up incearse volume by default 10
-v up [number] increase volume by number inputed
-v down decreases volume by default 10
-v down [number] decrease volume by number inputed
-m toggles mute/unmute

Other Commands

Misc Commands Details
-art Opens the current song artwork link
-song Opens current song on spotify website

About

Control Spotify from your mac terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages