true bidirectional with split truth modle set up. all scripts are fully bidirectional

This commit is contained in:
2026-04-21 18:20:47 -04:00
parent 6b36b8c07a
commit d4bf31a5f4
9 changed files with 846 additions and 161 deletions
+6 -1
View File
@@ -485,7 +485,12 @@ run_handback() {
[[ -z "$job" ]] && continue
info "Syncing: $job"
if [[ "$DRY_RUN" == false ]]; then
bash "$SCRIPT_DIR/../Rsync/rsync.sh" "$job"
# Emby writeback uses emby-failover profile — critical data only, Emby stays running
if [[ "$(basename "$job")" == "Emby" ]]; then
bash "$SCRIPT_DIR/../Rsync/rsync.sh" "$job" --profile=emby-failover
else
bash "$SCRIPT_DIR/../Rsync/rsync.sh" "$job"
fi
else
warn "DRY RUN — would rsync: $job"
fi