golang spotify client
Go to file
jjohnstondev 0305fe3c1c
All checks were successful
continuous-integration/drone/tag Build is passing
oop
2023-01-09 15:54:10 -08:00
cmd refac 2023-01-09 15:52:21 -08:00
internal refac 2023-01-09 15:52:21 -08:00
.drone.yml oop 2023-01-09 15:54:10 -08:00
.gitignore stuff 2023-01-06 23:42:00 -08:00
go.mod refac 2023-01-09 15:52:21 -08:00
go.sum refac 2023-01-09 15:52:21 -08:00
main.go refac 2023-01-09 15:52:21 -08:00
Makefile refac 2023-01-09 15:52:21 -08:00
README.md :) 2023-01-09 00:12:40 -08:00

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 :)