This commit is contained in:
Hans Karlinius
2024-12-03 10:46:06 +01:00
parent 80a121b2e7
commit 2a819362cf
6 changed files with 5 additions and 69 deletions

View File

@@ -1,5 +1,8 @@
#!/command/with-contenv bashio
bashio::addon.option 'clientid'
bashio::addon.option 'manualhub'
options=$(bashio::api.supervisor GET "/addons/self/options/config")
autofind=$(echo $options | jq '. | if .autofind then true else false end')
autouse=$(echo $options | jq '. | if .autouse then true else false end')
@@ -31,7 +34,6 @@ else
fi
if [ -n "$manualhub" ]; then
bashio::log.info "Set Settings ManualHubs to ${manualhub}"
/usr/bin/vh_editini Settings ManualHubs ${manualhub}
else