mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
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:
@@ -283,6 +283,8 @@ class EXAMPLE(Service):
|
||||
year=metadata["releaseYear"] if metadata.get("releaseYear", 0) > 0 else None,
|
||||
language=original_lang,
|
||||
data=ep,
|
||||
# daily/sports: name by date instead of SxxExx (date or ISO string)
|
||||
# air_date=ep.get("airDate"),
|
||||
)
|
||||
)
|
||||
return Series(episodes)
|
||||
|
||||
Reference in New Issue
Block a user