Go to file
abs3nt c1b8eee83d
Some checks failed
builder / build (push) Failing after 18s
fix(deps): update module google.golang.org/api to v0.187.0 (#9)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | require | minor | `v0.182.0` -> `v0.187.0` |

---

### Release Notes

<details>
<summary>googleapis/google-api-go-client (google.golang.org/api)</summary>

### [`v0.187.0`](https://github.com/googleapis/google-api-go-client/releases/tag/v0.187.0)

[Compare Source](https://github.com/googleapis/google-api-go-client/compare/v0.186.0...v0.187.0)

##### Features

-   **all:** Auto-regenerate discovery clients ([#&#8203;2655](https://github.com/googleapis/google-api-go-client/issues/2655)) ([1a28e06](1a28e0622f))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2658](https://github.com/googleapis/google-api-go-client/issues/2658)) ([719f988](719f988502))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2659](https://github.com/googleapis/google-api-go-client/issues/2659)) ([7cd88da](7cd88dabf7))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2660](https://github.com/googleapis/google-api-go-client/issues/2660)) ([3ca2f84](3ca2f844a9))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2661](https://github.com/googleapis/google-api-go-client/issues/2661)) ([0a238f5](0a238f578c))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2663](https://github.com/googleapis/google-api-go-client/issues/2663)) ([6e061ce](6e061ced5f))

##### Bug Fixes

-   **gensupport:** Wrap chunk upload err for retries ([#&#8203;2657](https://github.com/googleapis/google-api-go-client/issues/2657)) ([a758bc1](a758bc17ee))
-   Pass through gRPC api key option to new auth lib ([#&#8203;2664](https://github.com/googleapis/google-api-go-client/issues/2664)) ([e051997](e051997022))

### [`v0.186.0`](https://github.com/googleapis/google-api-go-client/releases/tag/v0.186.0)

[Compare Source](https://github.com/googleapis/google-api-go-client/compare/v0.185.0...v0.186.0)

##### Features

-   **all:** Auto-regenerate discovery clients ([#&#8203;2641](https://github.com/googleapis/google-api-go-client/issues/2641)) ([72fb128](72fb1281b3))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2644](https://github.com/googleapis/google-api-go-client/issues/2644)) ([20ffdd8](20ffdd8000))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2645](https://github.com/googleapis/google-api-go-client/issues/2645)) ([c1a7681](c1a768193e))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2648](https://github.com/googleapis/google-api-go-client/issues/2648)) ([1bac79d](1bac79d78d))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2649](https://github.com/googleapis/google-api-go-client/issues/2649)) ([695484b](695484ba67))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2652](https://github.com/googleapis/google-api-go-client/issues/2652)) ([10c47f3](10c47f3750))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2653](https://github.com/googleapis/google-api-go-client/issues/2653)) ([bc370a7](bc370a705c))

### [`v0.185.0`](https://github.com/googleapis/google-api-go-client/releases/tag/v0.185.0)

[Compare Source](https://github.com/googleapis/google-api-go-client/compare/v0.184.0...v0.185.0)

##### Features

-   **all:** Auto-regenerate discovery clients ([#&#8203;2636](https://github.com/googleapis/google-api-go-client/issues/2636)) ([51ff8a4](51ff8a4794))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2638](https://github.com/googleapis/google-api-go-client/issues/2638)) ([0c868b2](0c868b2608))

##### Bug Fixes

-   **internal/gensupport:** Update shouldRetry for GCS uploads ([#&#8203;2634](https://github.com/googleapis/google-api-go-client/issues/2634)) ([ea513cb](ea513cb749))

### [`v0.184.0`](https://github.com/googleapis/google-api-go-client/releases/tag/v0.184.0)

[Compare Source](https://github.com/googleapis/google-api-go-client/compare/v0.183.0...v0.184.0)

##### Features

-   **all:** Auto-regenerate discovery clients ([#&#8203;2624](https://github.com/googleapis/google-api-go-client/issues/2624)) ([7fccba6](7fccba6a6f))
-   Regen cloudcommerceprocurement v1 from updated discovery file ([#&#8203;2627](https://github.com/googleapis/google-api-go-client/issues/2627)) ([7e30ed2](7e30ed210c))
-   Support structpb.Struct as req/resp ([#&#8203;2632](https://github.com/googleapis/google-api-go-client/issues/2632)) ([ebc44d1](ebc44d1595)), refs [#&#8203;2601](https://github.com/googleapis/google-api-go-client/issues/2601)

##### Bug Fixes

-   **cba:** Update credsNewAuth to support oauth2 over mTLS ([#&#8203;2610](https://github.com/googleapis/google-api-go-client/issues/2610)) ([953f728](953f728941))

### [`v0.183.0`](https://github.com/googleapis/google-api-go-client/releases/tag/v0.183.0)

[Compare Source](https://github.com/googleapis/google-api-go-client/compare/v0.182.0...v0.183.0)

##### Features

-   **all:** Auto-regenerate discovery clients ([#&#8203;2611](https://github.com/googleapis/google-api-go-client/issues/2611)) ([1de148b](1de148b049))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2616](https://github.com/googleapis/google-api-go-client/issues/2616)) ([5f21214](5f21214e22))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2617](https://github.com/googleapis/google-api-go-client/issues/2617)) ([08fdd71](08fdd71cae))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2619](https://github.com/googleapis/google-api-go-client/issues/2619)) ([c7f1614](c7f161413c))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2622](https://github.com/googleapis/google-api-go-client/issues/2622)) ([0077748](007774894a))

##### Bug Fixes

-   Add another temporary dep on genproto ([#&#8203;2614](https://github.com/googleapis/google-api-go-client/issues/2614)) ([4f98211](4f9821115b)), refs [#&#8203;2559](https://github.com/googleapis/google-api-go-client/issues/2559) [#&#8203;2613](https://github.com/googleapis/google-api-go-client/issues/2613)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Reviewed-on: #9
2024-07-06 20:56:48 +00:00
.gitea/workflows chore(deps): update actions/checkout action to v4 (#11) 2024-07-06 20:56:31 +00:00
completions better completions 2024-04-02 21:30:26 -07:00
src tview 2024-05-31 18:16:20 -07:00
.gitignore ignore 2024-02-18 18:53:02 -08:00
.golangci.yml cleanup 2024-02-18 20:00:15 -08:00
.goreleaser.yaml update 2024-05-30 15:19:52 -07:00
go.mod fix(deps): update module google.golang.org/api to v0.187.0 (#9) 2024-07-06 20:56:48 +00:00
go.sum fix(deps): update module modernc.org/sqlite to v1.30.1 (#10) 2024-07-06 20:51:00 +00:00
LICENSE license 2024-02-19 17:21:17 -08:00
main.go move 2024-02-23 12:48:32 -08:00
Makefile move 2024-02-23 12:48:32 -08:00
README.md readme 2024-02-19 13:33:36 -08:00
renovate.json Update renovate.json 2024-07-06 20:33:53 +00:00

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.


status-badge

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

tmux plugin

wiki