mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
change binary name
cargo can install directly from github, use `cargo install --git https://github.com/plietar/librespot` binary is put to ~/.cargo/bin/
This commit is contained in:
parent
fd6b805bfd
commit
2372447d23
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ name = "librespot"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "main"
|
name = "librespot"
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies.librespot-protocol]
|
[dependencies.librespot-protocol]
|
||||||
|
|
|
@ -28,7 +28,7 @@ cargo build
|
||||||
A sample program implementing a headless Spotify Connect receiver is provided.
|
A sample program implementing a headless Spotify Connect receiver is provided.
|
||||||
Once you've built *librespot*, run it using :
|
Once you've built *librespot*, run it using :
|
||||||
```shell
|
```shell
|
||||||
target/debug/main -a APPKEY -u USERNAME -c CACHEDIR -n DEVICENAME
|
target/debug/librespot -a APPKEY -u USERNAME -c CACHEDIR -n DEVICENAME
|
||||||
```
|
```
|
||||||
where `APPKEY` is the path to a Spotify application key file, `USERNAME` is your
|
where `APPKEY` is the path to a Spotify application key file, `USERNAME` is your
|
||||||
Spotify username, `CACHEDIR` is the path to directory where data will be cached,
|
Spotify username, `CACHEDIR` is the path to directory where data will be cached,
|
||||||
|
|
Loading…
Reference in a new issue