output: Media — success status visible, not-configured and disabled exits now echo

This commit is contained in:
Gmer4Lfe
2026-06-01 20:28:27 -04:00
parent 74dff404b8
commit b316e1b49f
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ unset _key
# HOST guard — Lidarr runs on HOST1 only
if [[ -z "$LIDARR_URL" ]]; then
log "Lidarr not configured for $MY_IDnothing to do"
echo "Lidarr not configured for $MY_IDskipping"
exit 0
fi
+1 -1
View File
@@ -222,7 +222,7 @@ elif [[ ${#FAILED[@]} -gt 0 ]]; then
notify "Media permissions failed on $(hostname)${FAILED[*]}" \
"Media Permissions" "warning"
else
log "$ICON_DONE Status: done — ${#UPDATED[@]} shares updated"
echo "$ICON_DONE Status: done — ${#UPDATED[@]} shares updated"
fi
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
+1 -1
View File
@@ -84,7 +84,7 @@ parse_args "${_FILTERED[@]}"
# ==============================================================================================
# ━━━ Setup ━━━
# ==============================================================================================
[[ "${PLAY_SYNC_ENABLED:-true}" != "true" ]] && log "Play state sync disabled" && exit 0
[[ "${PLAY_SYNC_ENABLED:-true}" != "true" ]] && echo "Play state sync disabled" && exit 0
SYNC_DAYS="${PLAY_SYNC_DAYS:-90}"
SYNC_TYPES="${PLAY_SYNC_TYPES:-Movie,Episode,Audio}"
+1 -1
View File
@@ -95,7 +95,7 @@ acquire_lock
detect_hosts
if [[ -z "$RADARR_URL" ]]; then
log "Radarr not configured for $MY_IDnothing to do"
echo "Radarr not configured for $MY_IDskipping"
exit 0
fi
+1 -1
View File
@@ -94,7 +94,7 @@ acquire_lock
detect_hosts
if [[ -z "$SONARR_URL" ]]; then
log "Sonarr not configured for $MY_IDnothing to do"
echo "Sonarr not configured for $MY_IDskipping"
exit 0
fi