Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Jul 30, 2024
1 parent 1e82a27 commit 61e7b9e
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,25 @@ Create a `config.yml` file containing:
```yaml
device_name: go-librespot
credentials:
type: user_pass
user_pass:
username: "<username>"
password: "<password>"
type: interactive
```
Then, run:
Then run (or grab a prebuilt binary from the [releases](https://github.com/devgianlu/go-librespot/releases) page):
```shell
go run ./cmd/daemon
```

The new device should appear in your Spotify Connect devices.
Follow the instructions on the console for completing authentication and the new device should appear in your Spotify
Connect devices.

Alternatively, you can use the Zeroconf mode:

```yaml
device_name: go-librespot
credentials:
type: zeroconf
```
## API
Expand Down

0 comments on commit 61e7b9e

Please sign in to comment.