diff --git a/Cargo.toml b/Cargo.toml index 3023f32e..20f95277 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ name = "librespot" path = "src/lib.rs" [[bin]] -name = "main" +name = "librespot" path = "src/main.rs" [dependencies.librespot-protocol] diff --git a/README.md b/README.md index 0360dabb..0e6c82e3 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ cargo build A sample program implementing a headless Spotify Connect receiver is provided. Once you've built *librespot*, run it using : ```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 Spotify username, `CACHEDIR` is the path to directory where data will be cached,