add new environment variables for spotDL configuration and output format control

This commit is contained in:
Kamil
2024-12-10 15:47:38 +00:00
parent 6f3f5b9623
commit aa201c3be2
2 changed files with 16 additions and 0 deletions

View File

@@ -78,6 +78,20 @@ MUSIC_STORAGE_BASE_PATH = '/storage/media/music'
### 🆕 Log Viewer
Under the `Admin` Page there is now a tab called `Logs` from where you can view the current logs, change the log-level on demand and copy a prepared markdown snippet ready to be pasted into a GitHub issue.
### 🆕 New env var´s, a bit more control over spotDL
#### `SPOTDL_PROXY`
Set a Proxy for spotDL. See [https://spotdl.readthedocs.io/en/latest/usage/#command-line-options](https://spotdl.readthedocs.io/en/latest/usage/#command-line-options)
#### `SPOTDL_OUTPUT_FORMAT`
Set the output folder and file name format for downloaded tracks via spotDL. Not all variables, which are supported by spotDL are supported by Jellyplist.
- `{title}`
- `{artist}`
- `{artists}`
- `{album}`
This way you will have a bit more controler over how the files are stored.
The complete output path is joined from `MUSIC_STORAGE_BASE_PATH` and `SPOTDL_OUTPUT_FORMAT`
### Other changes, improvements and fixes
- Fix for #38 and #22 , where the manual task starting was missing a return value