Skip to content

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

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

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

Conversation

@wilb
Copy link
Copy Markdown

@wilb wilb commented May 16, 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.

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
@wilb wilb closed this May 17, 2026
@wilb
Copy link
Copy Markdown
Author

wilb commented May 17, 2026

Replaced by #31

@wilb wilb deleted the fix/date-based-episode-search branch May 17, 2026 20:18
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