40 lines
889 B
Markdown
40 lines
889 B
Markdown
# Setup
|
|
|
|
`ncmprs` requires a `config.toml` file that points to your FLAC music library.
|
|
|
|
## Linux
|
|
|
|
1. Create the configuration directory:
|
|
```sh
|
|
mkdir -p "$XDG_CONFIG_HOME/ncmprs"
|
|
```
|
|
|
|
2. Create the configuration file:
|
|
```sh
|
|
touch "$XDG_CONFIG_HOME/ncmprs/config.toml"
|
|
```
|
|
|
|
3. Add the path to your music library:
|
|
```toml
|
|
library_path = "/path/to/your/music"
|
|
```
|
|
|
|
---
|
|
|
|
## Windows
|
|
|
|
1. Create the configuration directory:
|
|
```
|
|
C:\Users\<YourUser>\AppData\Roaming\ncmprs\
|
|
```
|
|
|
|
2. Create a file named `config.toml` inside that directory.
|
|
|
|
3. Add the path to your music library:
|
|
```toml
|
|
library_path = "Z:\\Users\\<YourUser>\\Music"
|
|
```
|
|
|
|
> **Note:** Windows paths in TOML require backslashes to be escaped (`\\` instead of `\`).\
|
|
> **Note:** The first time you start `ncmprs`, it will take some time to index your library and create it's own database.
|