Skip to content

Commit

Permalink
Add Windows instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rashil2000 authored and hrkfdn committed Jun 11, 2021
1 parent 677a8e0 commit 3060032
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ strum_macros = "0.21.1"
regex = "1"
ioctl-rs = { version = "0.2", optional = true }
serde_cbor = "0.11.1"
pancurses = { version = "0.16.1", features = ["win32"] }

[dependencies.cursive]
version = "0.16.3"
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ cargo deb
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

* Install the latest ncspot release using `cargo install ncspot`
Expand Down Expand Up @@ -173,7 +181,7 @@ To close the commandprompt at any time, press `esc`.

## 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
`:reload`.

Expand Down Expand Up @@ -255,7 +263,7 @@ To allow scaling the album art up beyond its resolution (640x640 for Spotify cov
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.

Expand Down

0 comments on commit 3060032

Please sign in to comment.