icorp host profiles into scripts that needed it

This commit is contained in:
2026-04-19 17:39:40 -04:00
parent cbfdc488c3
commit 4103e1be65
4 changed files with 64 additions and 6 deletions
+11
View File
@@ -47,6 +47,17 @@ fi
success "Running as root"
# Select correct Emby instance for session display
detect_hosts
if [[ "$LOCAL_SERVER_NAME" == "$HOST1" ]]; then
EMBY_URL="${HOST1_EMBY_URL}"
EMBY_API_KEY="${HOST1_EMBY_API_KEY}"
else
EMBY_URL="${HOST2_EMBY_URL}"
EMBY_API_KEY="${HOST2_EMBY_API_KEY}"
fi
case "$TRANSCODE_MANAGER_MODE" in
smart|ramdisk|ssd) info "$ICON_GEAR Mode: $TRANSCODE_MANAGER_MODE" ;;
*)