Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0. Install rust toolchain (rustup is the simplest way I guess)
- 1. Download latest ncspot release (git clone --branch v0.10.0 [email protected]:hrkfdn/ncspot.git)
- 2. Download compatible librespot version (git clone --branch v0.4.1 [email protected]:librespot-org/librespot.git) in ncspot folder:
- ncspot/
- |---librespot/
- |---Cargo.toml
- |---...
- 3. Change the following line in the librespot/src/core/connection/handshake.rs
- - .set_product(protocol::keyexchange::Product::PRODUCT_PARTNER);
- + .set_product(protocol::keyexchange::Product::PRODUCT_CLIENT);
- 4. Change path to librespot in Cargo.toml
- -librespot-core = "0.4.0"
- -librespot-playback = "0.4.0"
- -librespot-protocol = "0.4.0"
- +librespot-core = { path="librespot/core" }
- +librespot-playback = { path="librespot/playback" }
- +librespot-protocol = { path="librespot/protocol" }
- 5. Build ncspot: cargo build --release (binary will be in the target/release folder)
- 6. Set bitrate = 160 in ~/.config/ncspot/config.toml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement