Added dedicated settings to manage in-place import

This commit is contained in:
Eliot Berriot 2018-04-21 18:15:29 +02:00
parent 3d6c12437e
commit a8bf44a494
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 10 additions and 2 deletions

View file

@ -441,3 +441,9 @@ EXTERNAL_REQUESTS_VERIFY_SSL = env.bool(
'EXTERNAL_REQUESTS_VERIFY_SSL',
default=True
)
MUSIC_DIRECTORY_PATH = env('MUSIC_DIRECTORY_PATH', default=None)
# on Docker setup, the music directory may not match the host path,
# and we need to know it for it to serve stuff properly
MUSIC_DIRECTORY_SERVE_PATH = env(
'MUSIC_DIRECTORY_SERVE_PATH', default=MUSIC_DIRECTORY_PATH)