add new environment variables for spotDL configuration and output format control
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -41,6 +41,8 @@ JELLYPLIST_DB_PASSWORD = jellyplist
|
||||
MUSIC_STORAGE_BASE_PATH = '/storage/media/music' # The base path where your music library is located. Must be the same value as your music library in jellyfin
|
||||
|
||||
### Optional:
|
||||
# SPOTDL_PROXY = http://proxy:8080
|
||||
# SPOTDL_OUTPUT_FORMAT = "/{artist}/{artists} - {title}" # Supported variables: {title}, {artist},{artists}, {album}, Will be joined with to get a complete path
|
||||
|
||||
# SEARCH_JELLYFIN_BEFORE_DOWNLOAD = false # defaults to true, before attempting to do a download with spotDL , the song will be searched first in the local library
|
||||
|
||||
|
||||
Reference in New Issue
Block a user