feat: allow overriding the output directory via GODEEZ_OUTPUT_DIR
The output directory used to be fixed at ~/Music/GoDeez. config.Load now honours GODEEZ_OUTPUT_DIR when set, with a leading ~ expanded by hand since the shell only does that for unquoted arguments, not for values read out of the environment. Falls back to the previous default when unset.
This commit is contained in:
@@ -147,6 +147,14 @@ export DEEZER_MOBILE_GW_KEY="your_gateway_key" # exactly 16 characters
|
||||
|
||||
Downloaded files are saved to `~/Music/GoDeez`. The download database (`.tracks.db`) is stored in the same directory as your music.
|
||||
|
||||
To use a different location, set `GODEEZ_OUTPUT_DIR`:
|
||||
|
||||
```bash
|
||||
export GODEEZ_OUTPUT_DIR="/path/to/your/music"
|
||||
```
|
||||
|
||||
A leading `~` is expanded to your home directory.
|
||||
|
||||
> **Upgrading from v1.3.0?** The `~/.godeez` directory and `config.toml` are no longer used. Set the `DEEZER_ARL` environment variable instead. Your existing database will be migrated automatically on first run.
|
||||
|
||||
## Usage
|
||||
|
||||
Reference in New Issue
Block a user