mirror of
https://github.com/aculix/ticket-monitoring.git
synced 2026-10-27 07:15:51 +00:00
A leftover v1 MOVIE_CODE used to switch the whole District block to the old names, silently discarding DISTRICT_CONTENT_ID even when it was set deliberately. The monitor then watched the wrong film and still reported 'closed', which is the failure mode this project exists to avoid. Each field now prefers the DISTRICT_* value and falls back to its v1 name, an explicitly emptied value is respected, and any v1 name still in use is warned about at startup. District is enabled by DISTRICT_CONTENT_ID rather than the movie code, which is optional: District answers without it, and a film with no showtimes yet has none.