-
-
Notifications
You must be signed in to change notification settings - Fork 224
Allow searches to return partial matches #478
Description
- I have checked the existing issues to avoid duplicates
- I have redacted any info hashes and content metadata from any logs or screenshots attached to this issue
Is your feature request related to a problem? Please describe
By default, Sonarr kicks of Season searches because they are way more efficient than episode searches. It's just one API call per season instead of one API call per episode. For some indexers, this works fine. When it searches for "<Show_name> s01" it will match "<Show_name> s01", but is will also match "<Show_name> s01e01". This means that if season packs are not (yet) available, Sonarr can pull individual episodes instead.
For other indexers, such as Bitmagnet, "<Show_name> s01" does NOT match "<Show_name> s01e1" because it does not allow for partial matches. In this case, when a season pack is not available nothing is downloaded. You'd have to manually kick off automatic episode searches either by clicking the search button for each individual episode OR by kicking off a search for all items in the "Wanted" list.
I know I can search for "<Show_name> s01*" instead, which WOULD also match individual episodes, but unfortunately that's not the way Sonarr sends out queries. I also do not know if all indexers support wildcards. So changing the search behavior downstream is probably a more risky approach.
Describe the solution you'd like
Allow for partial matches. Make is configurable if it's not desirable default behavior for whatever reason.