abs3nt
5e40c8e2a2
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged. --- ### Detected Package Files * `.gitea/workflows/push.yaml` (github-actions) * `.gitea/workflows/releaser.yaml` (github-actions) * `go.mod` (gomod) ### What to Expect With your current configuration, Renovate will create 9 Pull Requests: <details> <summary>chore(deps): update golang.org/x/exp digest to 7f521ea</summary> - Schedule: ["at any time"] - Branch name: `renovate/golang.org-x-exp-digest` - Merge into: `master` - Upgrade golang.org/x/exp to `7f521ea00fb8` </details> <details> <summary>chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.6</summary> - Schedule: ["at any time"] - Branch name: `renovate/github.com-charmbracelet-bubbletea-0.x` - Merge into: `master` - Upgrade [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) to `v0.26.6` </details> <details> <summary>chore(deps): update module go.uber.org/fx to v1.22.1</summary> - Schedule: ["at any time"] - Branch name: `renovate/go.uber.org-fx-1.x` - Merge into: `master` - Upgrade [go.uber.org/fx](https://github.com/uber-go/fx) to `v1.22.1` </details> <details> <summary>chore(deps): update module golang.org/x/net to v0.27.0</summary> - Schedule: ["at any time"] - Branch name: `renovate/golang.org-x-net-0.x` - Merge into: `master` - Upgrade golang.org/x/net to `v0.27.0` </details> <details> <summary>chore(deps): update module golang.org/x/oauth2 to v0.21.0</summary> - Schedule: ["at any time"] - Branch name: `renovate/golang.org-x-oauth2-0.x` - Merge into: `master` - Upgrade golang.org/x/oauth2 to `v0.21.0` </details> <details> <summary>chore(deps): update module google.golang.org/api to v0.187.0</summary> - Schedule: ["at any time"] - Branch name: `renovate/google.golang.org-api-0.x` - Merge into: `master` - Upgrade [google.golang.org/api](https://github.com/googleapis/google-api-go-client) to `v0.187.0` </details> <details> <summary>chore(deps): update module modernc.org/sqlite to v1.30.1</summary> - Schedule: ["at any time"] - Branch name: `renovate/modernc.org-sqlite-1.x` - Merge into: `master` - Upgrade [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) to `v1.30.1` </details> <details> <summary>chore(deps): update module gfx.cafe/util/go/frand to v1</summary> - Schedule: ["at any time"] - Branch name: `renovate/gfx.cafe-util-go-frand-1.x` - Merge into: `master` - Upgrade gfx.cafe/util/go/frand to `5db68942734eba89e6f024a5d644d0b787c2587a` </details> <details> <summary>chore(deps): update module gfx.cafe/util/go/fxplus to v1</summary> - Schedule: ["at any time"] - Branch name: `renovate/gfx.cafe-util-go-fxplus-1.x` - Merge into: `master` - Upgrade gfx.cafe/util/go/fxplus to `5db68942734eba89e6f024a5d644d0b787c2587a` </details> 🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for `prhourlylimit` for details. --- ❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section. If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions). --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-config-hash:94693a990c975907e7f13da3309b9d56ba02b3983519b41786edf5cf031e457c--> Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Reviewed-on: abs3nt/gspot#1 |
||
---|---|---|
.gitea/workflows | ||
completions | ||
src | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yaml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md | ||
renovate.json |
IF YOU ARE ON GITHUB.COM GO HERE INSTEAD: https://git.asdf.cafe/abs3nt/gspot :)
If you open an issue or PR on github I won't see it please use git.asdf.cafe. Register on asdf and open your PRs there
This project is still under heavy development and some things might not work or not work as intended. Don't hesitate to open an issue to let me know.
To install (with a package manager):
Archlinux (AUR)
yay -S gspot-git
To build from source by pulling and building the binary
git clone https://git.asdf.cafe/abs3nt/gspot
cd gspot
make build && sudo make install
Configuration
go here https://developer.spotify.com/dashboard/applications to make a spotify application. you will need a client ID and a client secret. Set your redirect uri like this:
http://localhost:8888/callback
add your information to ~/.config/gspot/gspot.yml like this
client_id: "idgoeshere"
client_secret: "secretgoeshere"
port: "8888"
if you dont want to store your secret in the file in plaintext you can use a command to retreive it:
client_secret_cmd: "secret spotify_secret"
you should have either client_secret or client_secret_cmd
you can enable debug logging by adding
log_level: "debug"
log_output: "file"
it will log to ~/.config/gspot/gspot.log
RUNNING
gspot
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.
helpful keybinds are shown in the bottom of the screen, hit ? to see all of them
To use the custom radio feature:
gspot radio
or hit ctrl+r on any track in the TUI. This will start an extended radio. To replenish the current radio run gspot 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.
To view help:
gspot --help
Very open to contributations feel free to open a PR