Skip to content

Start every file format at version 1 - #12

Merged
Xarishark merged 3 commits into
mainfrom
refactor/v1-formats
Nov 8, 2026
Merged

Xarishark merged 3 commits into
mainfrom
refactor/v1-formats

Conversation

@Xarishark

Copy link
Copy Markdown
Owner

Director has no installs outside development, so every saved file and export now starts at version 1 and the code only reads the current format.

Formats

  • scenes.json 4 → 1 and backups 2 → 1. Loaders accept exactly version 1 and refuse anything else without touching the file.
  • Removed scene migration: the old per-scene policy fields, the audio-preset reference and linked TV audio, audio-presets.json reads, and backup audio-preset migration.
  • Display presets require confirm_changes; TVs require brand and connection (always written already).
  • Preferences always write hide_next_scene_tip and tv_input_guard_seconds (the "keep older builds reading the file" special cases are gone).
  • Samsung/TCL compatibility report format_version 2 → 1.

Other leftovers

  • CLI: removed the display presets / display current alias spellings (display list / display screens remain).
  • Setup: removed the check for a pre-0.10 per-user install.
  • Stale comments and test names; the Now draft's internal name is "Now".

The LG/Samsung "legacy connection" option stays: it's a real feature for TVs that only offer the unencrypted port.

Verified

  • fmt, clippy with -D warnings, tests: 159 lib + 22 app passing.
  • Release build and local MSI/setup packaging.
  • Read-only director list, scene list, display list and tv list against real settings converted to version 1.

@Xarishark
Xarishark merged commit ce17df2 into main Nov 8, 2026
2 checks passed
@Xarishark
Xarishark deleted the refactor/v1-formats branch November 8, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant