Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AbhiAgarwal/go-spotify
Command-line spotify client for Mac written in Go
https://github.com/AbhiAgarwal/go-spotify
Last synced: 21 days ago
JSON representation
Command-line spotify client for Mac written in Go
- Host: GitHub
- URL: https://github.com/AbhiAgarwal/go-spotify
- Owner: AbhiAgarwal
- Created: 2014-07-09T07:03:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-24T21:32:00.000Z (about 9 years ago)
- Last Synced: 2024-08-05T15:05:25.150Z (4 months ago)
- Language: Go
- Homepage:
- Size: 1.23 MB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - go-spotify - Command-line spotify client for Mac written in Go (Go)
README
Go Spotify
==========Command-line Spotify client and library for Mac. It uses `osascript` to command, and run the commands. Will be building more ontop of this in the future. Just a quick prototype.
Quick and easy to export it as a binary, and to export it to `/usr/bin/`. This binary file consists of an example application that allows you to use the command line `spotify` client that is built ontop of this library. Run:
Use the `make` command, or:
```
go build examples/commands.go
mv ./commands ./spotify
sudo mv ./spotify /usr/bin/
```Then you can use `spotify` in the command line. This is not done yet - I'm going to be adding things like uri search, etc.
**Spotify Options**
```
play = Start playing Spotify
track = Gets current track
play = Start playing specified Spotify URI
playlist = Start playing playlist Spotify URI
search song = Search a particular
pause = Pause Spotify
next = Play next song
previous = Play previous song
shuffle = Shuffle on or off?
repeat = Repeat on or off?
volume = Get volume of Spotify
volume = Set volume by Amount
up = Increase volume by 10%
down = Decrease volume by 10%
open = Open Spotify
quit = Quit Spotify
```