feat(titles): add air_date for date-based episode naming

Optional Episode.air_date names daily/sports content by date instead of SxxExx (no template change). Presentation-only; `{year}` dropped only when it duplicates the date's year. Round-trips via export/import.
This commit is contained in:
imSp4rky
2026-06-30 15:45:57 -06:00
parent 987de239ee
commit 59f3cb4fbe
7 changed files with 183 additions and 8 deletions
+12
View File
@@ -57,6 +57,18 @@ Add `?` suffix to make a variable conditional (omitted when empty): `{year?}`, `
| `episode` | Episode number (e.g. `1`) |
| `season_episode` | Combined season/episode (e.g. `S01E01`) |
| `episode_name` | Episode title |
| `date` | Air date in ISO form (e.g. `2024-06-30`), only for daily/sports content |
!!! note "Daily / sports content"
When a service supplies an air date (daily talk shows, news, sports events),
`{season_episode}` automatically renders the date using your template's separator
(e.g. `2024.06.30` for a dotted template, `2024 06 30` for a spaced one). The
standalone `{year}` is dropped from the filename — the air date is the sole date —
so every episode of a show names consistently. Folders still keep the year (e.g.
`Show Name (2010)/2024/`). No template change is needed.
Use the `{date}` variable instead if you want a fixed `YYYY-MM-DD` form regardless
of separator. Folders for dated episodes group by air year (e.g. `Show Name/2024/`).
### Video / audio variables