feat(manager): signage screens, schedules, the message of the day and the weather's town (platform-v2 step 5.6c)

Signage gets tabs:
- Screens: every paired signage TV with what it plays (a playlist, or a
  schedule that wins over it), its shape and rotation, a warning when a
  playlist was made for the other shape; a link to pair one in Devices.
- Schedules: lines (a playlist on days / between hours that may pass midnight /
  between dates, with a priority) and the playlist for the rest of the time;
  "now: …" per schedule; the screens on it.
- Message and weather: the message of the day for every screen; the
  weather's town from a search (°C / °F), now / fetched at, "no forecast"
  when the server can't reach the service, fetch now, remove; says the
  weather needs internet and the widget hides without it.
- e2e signage.mjs +6 (message saved, weather section, choosing a playlist and
  turning the picture move the TV, a schedule built in the manager plays what
  it picks now); a crash is reported as a failed check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 23:20:44 +02:00
co-authored by Claude Opus 5.5
parent 5f6b51fb8b
commit 6c982e3139
9 changed files with 518 additions and 8 deletions
+65
View File
@@ -1044,6 +1044,71 @@
"days_one": "Today",
"days_other": "Today and {{count}} days",
"weatherNeedsInternet": "The weather needs internet: without it (or without a town set) the widget is hidden."
},
"tabs": {
"playlists": "Playlists",
"screens": "Screens",
"schedules": "Schedules",
"settings": "Message and weather"
},
"screens": {
"none": "No signage screens yet.",
"noneHint": "Open http://<server>:8082 on the TV (or a small PC or stick on it) and pair it as a signage screen.",
"pair": "Pair a TV in Devices",
"playlist": "Plays",
"nothing": "Nothing (a blank screen)",
"schedule": "Schedule",
"scheduleHint": "When set, it decides what plays (instead of the playlist).",
"noSchedule": "No schedule",
"rotation": "Turn the picture",
"rotationHint": "For a TV mounted sideways that can't turn the picture itself.",
"rotations": {
"0": "No",
"90": "90° right",
"180": "Upside down",
"270": "90° left"
},
"mismatch": "A playlist here was made for the other shape"
},
"schedules": {
"new": "New schedule",
"newName": "New schedule",
"created": "Schedule created.",
"deleted": "Schedule deleted.",
"none": "No schedules yet.",
"noneHint": "A schedule plays different playlists at different times: lunch, evenings, weekends, holidays.",
"needPlaylist": "Make a playlist first.",
"nowPlaying": "now: {{name}}",
"nowNothing": "now: nothing",
"how": "Each line plays its playlist on its days, between its hours (they may pass midnight) and dates; empty means always. When two lines match, the higher priority wins, then the more specific one (dates, then days, then hours).",
"plays": "Plays",
"priority": "Priority",
"priorityHint": "Higher wins",
"addLine": "Add a line",
"otherwise": "The rest of the time",
"otherwiseHint": "When no line matches.",
"deleteTitle": "Delete \"{{name}}\"?",
"deleteBody": "The screens on it go back to their playlist. The playlists stay."
},
"settings": {
"message": "Message of the day",
"messageHint": "Shown by every message widget on every screen (unless the widget has its own text). A change shows at once.",
"weather": "Weather",
"weatherHint": "The weather needs internet: the server fetches it every 30 minutes. Without internet (or without a town) the weather widget is simply hidden on the TVs.",
"noPlace": "No town set yet.",
"town": "Town",
"townPlaceholder": "e.g. Kalavryta",
"find": "Find",
"unitsLabel": "Temperatures",
"units": {
"celsius": "°C",
"fahrenheit": "°F"
},
"now": "Now {{temp}}{{unit}} · fetched {{at}}",
"noForecast": "No forecast: the server can't reach the weather service (no internet?). The widget is hidden meanwhile.",
"waiting": "No forecast yet.",
"refresh": "Fetch now",
"forget": "Remove the town"
}
}
}