Skip to content

feat: add date-format fallback for date-named TV releases (fixes #28)#31

Open
wilb wants to merge 1 commit into
DSmart33:masterfrom
wilb:fix/date-based-episode-search-v2
Open

feat: add date-format fallback for date-named TV releases (fixes #28)#31
wilb wants to merge 1 commit into
DSmart33:masterfrom
wilb:fix/date-based-episode-search-v2

Conversation

@wilb
Copy link
Copy Markdown

@wilb wilb commented May 17, 2026

Shows like AEW Dynamite are filed on Usenet as 'AEW.Dynamite.2026.05.13' rather than SxxExx. All prior fallbacks (primary, alias, absolute-episode) returned zero results because they only tried season/episode numbering.

This adds a new dateFallback step (enabled by default, opt-out via SearchConfig.dateFallback = false) that fires when:

  • type is 'series' and results are still zero
  • TVDB provides an episodeAired date (YYYY-MM-DD)
  • show is not anime

It calls the existing searchTVShow() date-scheme path with the canonical title (plus additional titles in parallel-alt mode), building a query like 'AEW Dynamite 2026.05.13'. UTS only.

Bugfix to original PR to ensure abbreviations are searched alongside full show names.

Closes #28

…rt33#28)

Shows like AEW Dynamite are filed on Usenet as 'AEW.Dynamite.2026.05.13'
rather than SxxExx. All prior fallbacks (primary, alias, absolute-episode)
returned zero results because they only tried season/episode numbering.

This adds a new dateFallback step (enabled by default, opt-out via
SearchConfig.dateFallback = false) that fires when:
- type is 'series' and results are still zero
- TVDB provides an episodeAired date (YYYY-MM-DD)
- show is not anime

It calls the existing searchTVShow() date-scheme path with the canonical
title (plus additional titles in parallel-alt mode), building a query like
'AEW Dynamite 2026.05.13'. UTS only.

Closes DSmart33#28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Date-based TV shows return 0 results despite content existing on indexer

1 participant