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": "Σήμερα",
"days_other": "Σήμερα και {{count}} μέρες",
"weatherNeedsInternet": "Ο καιρός χρειάζεται internet: χωρίς αυτό (ή χωρίς πόλη) το στοιχείο κρύβεται."
},
"tabs": {
"playlists": "Λίστες",
"screens": "Οθόνες",
"schedules": "Προγράμματα",
"settings": "Μήνυμα και καιρός"
},
"screens": {
"none": "Δεν υπάρχουν οθόνες προβολής ακόμα.",
"noneHint": "Ανοίξτε http://<διακομιστής>:8082 στην τηλεόραση (ή σε μικρό υπολογιστή / stick πάνω της) και συνδέστε τη ως οθόνη προβολής.",
"pair": "Σύνδεση τηλεόρασης στις Συσκευές",
"playlist": "Παίζει",
"nothing": "Τίποτα (κενή οθόνη)",
"schedule": "Πρόγραμμα",
"scheduleHint": "Όταν οριστεί, αποφασίζει τι παίζει (αντί για τη λίστα).",
"noSchedule": "Χωρίς πρόγραμμα",
"rotation": "Περιστροφή εικόνας",
"rotationHint": "Για τηλεόραση τοποθετημένη πλάγια που δεν γυρίζει μόνη της την εικόνα.",
"rotations": {
"0": "Όχι",
"90": "90° δεξιά",
"180": "Ανάποδα",
"270": "90° αριστερά"
},
"mismatch": "Μια λίστα εδώ φτιάχτηκε για το άλλο σχήμα"
},
"schedules": {
"new": "Νέο πρόγραμμα",
"newName": "Νέο πρόγραμμα",
"created": "Το πρόγραμμα δημιουργήθηκε.",
"deleted": "Το πρόγραμμα διαγράφηκε.",
"none": "Δεν υπάρχουν προγράμματα ακόμα.",
"noneHint": "Ένα πρόγραμμα παίζει διαφορετικές λίστες σε διαφορετικές ώρες: μεσημέρι, βράδυ, Σαββατοκύριακα, γιορτές.",
"needPlaylist": "Φτιάξτε πρώτα μια λίστα.",
"nowPlaying": "τώρα: {{name}}",
"nowNothing": "τώρα: τίποτα",
"how": "Κάθε γραμμή παίζει τη λίστα της στις μέρες, στις ώρες (μπορεί να περνούν τα μεσάνυχτα) και στις ημερομηνίες της· κενό σημαίνει πάντα. Όταν ταιριάζουν δύο γραμμές, κερδίζει η μεγαλύτερη προτεραιότητα, μετά η πιο συγκεκριμένη (ημερομηνίες, μετά μέρες, μετά ώρες).",
"plays": "Παίζει",
"priority": "Προτεραιότητα",
"priorityHint": "Η μεγαλύτερη κερδίζει",
"addLine": "Προσθήκη γραμμής",
"otherwise": "Τον υπόλοιπο χρόνο",
"otherwiseHint": "Όταν δεν ταιριάζει καμία γραμμή.",
"deleteTitle": "Διαγραφή «{{name}}»;",
"deleteBody": "Οι οθόνες που το έχουν γυρίζουν στη λίστα τους. Οι λίστες μένουν."
},
"settings": {
"message": "Μήνυμα ημέρας",
"messageHint": "Το δείχνει κάθε στοιχείο μηνύματος σε κάθε οθόνη (εκτός αν έχει δικό του κείμενο). Η αλλαγή φαίνεται αμέσως.",
"weather": "Καιρός",
"weatherHint": "Ο καιρός χρειάζεται internet: ο διακομιστής τον φέρνει κάθε 30 λεπτά. Χωρίς internet (ή χωρίς πόλη) το στοιχείο καιρού απλώς κρύβεται στις τηλεοράσεις.",
"noPlace": "Δεν έχει οριστεί πόλη.",
"town": "Πόλη",
"townPlaceholder": "π.χ. Καλάβρυτα",
"find": "Αναζήτηση",
"unitsLabel": "Θερμοκρασίες",
"units": {
"celsius": "°C",
"fahrenheit": "°F"
},
"now": "Τώρα {{temp}}{{unit}} · ενημέρωση {{at}}",
"noForecast": "Καμία πρόγνωση: ο διακομιστής δεν φτάνει την υπηρεσία καιρού (χωρίς internet;). Το στοιχείο κρύβεται στο μεταξύ.",
"waiting": "Καμία πρόγνωση ακόμα.",
"refresh": "Ενημέρωση τώρα",
"forget": "Αφαίρεση πόλης"
}
}
}
+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"
}
}
}