Add Windows instructions
This commit is contained in:
committed by
Henrik Friedrichsen
parent
677a8e0668
commit
30600326c9
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -1898,6 +1898,7 @@ dependencies = [
|
|||||||
"librespot-protocol",
|
"librespot-protocol",
|
||||||
"log",
|
"log",
|
||||||
"notify-rust",
|
"notify-rust",
|
||||||
|
"pancurses",
|
||||||
"platform-dirs",
|
"platform-dirs",
|
||||||
"rand 0.8.3",
|
"rand 0.8.3",
|
||||||
"regex",
|
"regex",
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ strum_macros = "0.21.1"
|
|||||||
regex = "1"
|
regex = "1"
|
||||||
ioctl-rs = { version = "0.2", optional = true }
|
ioctl-rs = { version = "0.2", optional = true }
|
||||||
serde_cbor = "0.11.1"
|
serde_cbor = "0.11.1"
|
||||||
|
pancurses = { version = "0.16.1", features = ["win32"] }
|
||||||
|
|
||||||
[dependencies.cursive]
|
[dependencies.cursive]
|
||||||
version = "0.16.3"
|
version = "0.16.3"
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -69,6 +69,14 @@ cargo deb
|
|||||||
You can find it under `target/debian`.
|
You can find it under `target/debian`.
|
||||||
|
|
||||||
|
|
||||||
|
### On Windows
|
||||||
|
|
||||||
|
Make sure you're using MSVC toolchain
|
||||||
|
|
||||||
|
```
|
||||||
|
cargo install ncspot --no-default-features --features rodio_backend,cursive/pancurses-backend
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
* Install the latest ncspot release using `cargo install ncspot`
|
* Install the latest ncspot release using `cargo install ncspot`
|
||||||
@@ -173,7 +181,7 @@ To close the commandprompt at any time, press `esc`.
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Configuration is saved to `~/.config/ncspot/config.toml`. To reload the
|
Configuration is saved to `~/.config/ncspot/config.toml` (or `%AppData%\ncspot\config.toml` on Windows). To reload the
|
||||||
configuration during runtime use the `reload` statement in the command prompt
|
configuration during runtime use the `reload` statement in the command prompt
|
||||||
`:reload`.
|
`:reload`.
|
||||||
|
|
||||||
@@ -255,7 +263,7 @@ To allow scaling the album art up beyond its resolution (640x640 for Spotify cov
|
|||||||
cover_max_scale = 2
|
cover_max_scale = 2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Authentication
|
### Authentication
|
||||||
|
|
||||||
`ncspot` prompts for a Spotify username and password on first launch, uses this to generate an OAuth token, and stores it to disk.
|
`ncspot` prompts for a Spotify username and password on first launch, uses this to generate an OAuth token, and stores it to disk.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user