Install snapshots take every server's workspace, not only the original one (build 64)
Since the move to the VPS each TV keeps the VPS's channels under no_backup/servers/<key>/; the install snapshot, rollback copy and catalogue copy only took the original server's folder, frozen since 12 November, so the install checks of the last few builds compared the old server's schedules. snapshot, rollback and catalogue now take every server's workspace too (schedules, the server notes, catalogue copies; never the sign-in), and compare_snapshots.py checks their planned programmes as well. Restore still puts back only the original server's schedules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -49,7 +49,8 @@ def compare(before, after):
|
||||
if lost:
|
||||
problems.append(f"bookings lost: {len(lost)}")
|
||||
total = changed = 0
|
||||
for bp in glob.glob(before + "/no_backup/schedule/schedule-*.json"):
|
||||
# The original server's schedules and every other server's (no_backup/servers/<key>/schedule, 18 November 2026).
|
||||
for bp in glob.glob(before + "/no_backup/schedule/schedule-*.json") + glob.glob(before + "/no_backup/servers/*/schedule/schedule-*.json"):
|
||||
ap = bp.replace(before, after, 1)
|
||||
try:
|
||||
eb, ea = json.load(open(bp)).get("entries", []), json.load(open(ap)).get("entries", [])
|
||||
|
||||
Reference in New Issue
Block a user