mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-30 11:16:06 +02:00
Navidrome: Expose more Navidrome config options through the addon config
This commit is contained in:
@@ -39,12 +39,22 @@
|
|||||||
"cifspassword": "str?",
|
"cifspassword": "str?",
|
||||||
"cifsusername": "str?",
|
"cifsusername": "str?",
|
||||||
"data_folder": "str",
|
"data_folder": "str",
|
||||||
|
"default_language": "str?",
|
||||||
|
"image_cache_size": "str?",
|
||||||
"keyfile": "str?",
|
"keyfile": "str?",
|
||||||
|
"lastfm_api_key": "str?",
|
||||||
|
"lastfm_secret": "str?",
|
||||||
"localdisks": "str?",
|
"localdisks": "str?",
|
||||||
"log_level": "str",
|
"log_level": "str",
|
||||||
"music_folder": "str",
|
"music_folder": "str",
|
||||||
"networkdisks": "str?",
|
"networkdisks": "str?",
|
||||||
"ssl": "bool"
|
"password_encryption_key": "str?",
|
||||||
|
"scan_schedule": "str?",
|
||||||
|
"spotify_id": "str?",
|
||||||
|
"spotify_secret": "str?",
|
||||||
|
"ssl": "bool",
|
||||||
|
"transcoding_cache_size": "str?",
|
||||||
|
"welcome_message": "str?"
|
||||||
},
|
},
|
||||||
"slug": "navidrome",
|
"slug": "navidrome",
|
||||||
"udev": true,
|
"udev": true,
|
||||||
|
|||||||
@@ -14,6 +14,36 @@ if bashio::config.true 'ssl'; then
|
|||||||
ND_TLSCERT=$(bashio::config 'certfile')
|
ND_TLSCERT=$(bashio::config 'certfile')
|
||||||
ND_TLSKEY=$(bashio::config 'keyfile')
|
ND_TLSKEY=$(bashio::config 'keyfile')
|
||||||
fi
|
fi
|
||||||
|
if bashio::config.has_value 'default_language'; then
|
||||||
|
ND_DEFAULTLANGUAGE=$(bashio::config 'default_language')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'image_cache_size'; then
|
||||||
|
ND_IMAGECACHESIZE=$(bashio::config 'image_cache_size')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'lastfm_api_key'; then
|
||||||
|
ND_LASTFM_APIKEY=$(bashio::config 'lastfm_api_key')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'lastfm_secret'; then
|
||||||
|
ND_LASTFM_SECRET=$(bashio::config 'lastfm_secret')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'password_encryption_key'; then
|
||||||
|
ND_PASSWORDENCRYPTIONKEY=$(bashio::config 'password_encryption_key')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'scan_schedule'; then
|
||||||
|
ND_SCANSCHEDULE=$(bashio::config 'scan_schedule')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'spotify_id'; then
|
||||||
|
ND_SPOTIFY_ID=$(bashio::config 'spotify_id')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'spotify_secret'; then
|
||||||
|
ND_SPOTIFY_SECRET=$(bashio::config 'spotify_secret')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'transcoding_cache_size'; then
|
||||||
|
ND_TRANSCODINGCACHESIZE=$(bashio::config 'transcoding_cache_size')
|
||||||
|
fi
|
||||||
|
if bashio::config.has_value 'welcome_message'; then
|
||||||
|
ND_UIWELCOMEMESSAGE=$(bashio::config 'welcome_message')
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
|||||||
Reference in New Issue
Block a user