golang spotify client
Go to file
jjohnstondev 94ae6af7f1
continuous-integration/drone/tag Build is passing Details
add keymap
2023-01-08 23:27:53 -08:00
internal add keymap 2023-01-08 23:27:53 -08:00
.drone.yml f 2023-01-08 22:33:30 -08:00
.gitignore stuff 2023-01-06 23:42:00 -08:00
Makefile f 2023-01-08 22:33:30 -08:00
README.md Readme 2023-01-08 23:11:14 -08:00
go.mod set device, repeat, toggleplay etc' 2023-01-08 10:00:00 -08:00
go.sum set device, repeat, toggleplay etc' 2023-01-08 10:00:00 -08:00
main.go dont restart song on radio start 2023-01-08 21:08:51 -08:00

README.md

IF YOU ARE ON GITHUB.COM GO HERE INSTEAD: https://gitea.asdf.cafe/abs3nt/gospt

If you open an issue or PR on github I won't see it please use gitea. Register on asdf and open your PRs there


this will eventually be a tui most likely using bubble tea :)

to install:

make build then

sudo make install

to use add your information to ~/.config/gospt/client.yml like this

---
client_id: ID
client_secret: SECRET

then

gospt

you will be asked to login, you will only have to do this the first time. After login you will be asked to select your default device, this will also only happen once. To reset your device run gospot setdevice

To use the custom radio feature:

gospt radio

or hit ctrl+r on any track in the TUI. This will start an extended radio. To replenish the current radio run gospt refillradio and all the songs already listened will be removed and that number of new recomendations will be added.

This radio uses slightly different logic than the standard spotify radio to give a longer playlist and more recomendation. With a cronjob you can schedule refill to run to have an infinite and morphing radio station.

Very open to contributations feel free to open a PR