diff --git a/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh b/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh index 466144db7..c0dba2118 100755 --- a/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh +++ b/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh @@ -6,7 +6,7 @@ mkdir -p /tmp/castsponsorskip # Export options as env variables -for var in CSS_DISCOVER_INTERVAL CSS_PAUSED_INTERVAL CSS_PLAYING_INTERVAL CSS_CATEGORIES CSS_YOUTUBE_API_KEY; do +for var in CSS_CATEGORIES CSS_DISCOVER_INTERVAL CSS_PAUSED_INTERVAL CSS_PLAYING_INTERVAL CSS_YOUTUBE_API_KEY; do if bashio::config.has_value "$var"; then export "$var"="$(bashio::config "$var")" fi