fix: auto-fix linting issues

This commit is contained in:
alexbelgium
2025-06-10 10:06:17 +00:00
committed by github-actions[bot]
parent e5adbd266f
commit f728166b14
197 changed files with 5747 additions and 5714 deletions

View File

@@ -18,54 +18,53 @@ ND_BASEURL=$(bashio::config 'base_url')
export ND_BASEURL
if bashio::config.true 'ssl'; then
bashio::log.info "ssl is enabled"
ND_TLSCERT=$(bashio::config 'certfile')
export ND_TLSCERT
ND_TLSKEY=$(bashio::config 'keyfile')
export ND_TLSKEY
bashio::log.info "ssl is enabled"
ND_TLSCERT=$(bashio::config 'certfile')
export ND_TLSCERT
ND_TLSKEY=$(bashio::config 'keyfile')
export ND_TLSKEY
fi
if bashio::config.has_value 'default_language'; then
ND_DEFAULTLANGUAGE=$(bashio::config 'default_language')
export ND_DEFAULTLANGUAGE
ND_DEFAULTLANGUAGE=$(bashio::config 'default_language')
export ND_DEFAULTLANGUAGE
fi
if bashio::config.has_value 'image_cache_size'; then
ND_IMAGECACHESIZE=$(bashio::config 'image_cache_size')
export ND_IMAGECACHESIZE
ND_IMAGECACHESIZE=$(bashio::config 'image_cache_size')
export ND_IMAGECACHESIZE
fi
if bashio::config.has_value 'lastfm_api_key'; then
ND_LASTFM_APIKEY=$(bashio::config 'lastfm_api_key')
export ND_LASTFM_APIKEY
ND_LASTFM_APIKEY=$(bashio::config 'lastfm_api_key')
export ND_LASTFM_APIKEY
fi
if bashio::config.has_value 'lastfm_secret'; then
ND_LASTFM_SECRET=$(bashio::config 'lastfm_secret')
export ND_LASTFM_SECRET
ND_LASTFM_SECRET=$(bashio::config 'lastfm_secret')
export ND_LASTFM_SECRET
fi
if bashio::config.has_value 'password_encryption_key'; then
ND_PASSWORDENCRYPTIONKEY=$(bashio::config 'password_encryption_key')
export ND_PASSWORDENCRYPTIONKEY
ND_PASSWORDENCRYPTIONKEY=$(bashio::config 'password_encryption_key')
export ND_PASSWORDENCRYPTIONKEY
fi
if bashio::config.has_value 'scan_schedule'; then
ND_SCANSCHEDULE=$(bashio::config 'scan_schedule')
export ND_SCANSCHEDULE
ND_SCANSCHEDULE=$(bashio::config 'scan_schedule')
export ND_SCANSCHEDULE
fi
if bashio::config.has_value 'spotify_id'; then
ND_SPOTIFY_ID=$(bashio::config 'spotify_id')
export ND_SPOTIFY_ID
ND_SPOTIFY_ID=$(bashio::config 'spotify_id')
export ND_SPOTIFY_ID
fi
if bashio::config.has_value 'spotify_secret'; then
ND_SPOTIFY_SECRET=$(bashio::config 'spotify_secret')
export ND_SPOTIFY_SECRET
ND_SPOTIFY_SECRET=$(bashio::config 'spotify_secret')
export ND_SPOTIFY_SECRET
fi
if bashio::config.has_value 'transcoding_cache_size'; then
ND_TRANSCODINGCACHESIZE=$(bashio::config 'transcoding_cache_size')
export ND_TRANSCODINGCACHESIZE
ND_TRANSCODINGCACHESIZE=$(bashio::config 'transcoding_cache_size')
export ND_TRANSCODINGCACHESIZE
fi
if bashio::config.has_value 'welcome_message'; then
ND_UIWELCOMEMESSAGE=$(bashio::config 'welcome_message')
export ND_UIWELCOMEMESSAGE
ND_UIWELCOMEMESSAGE=$(bashio::config 'welcome_message')
export ND_UIWELCOMEMESSAGE
fi
##############
# LAUNCH APP #
##############