Skip to content

Some Indexers don't return all results for id based searches #425

@ThatIcyPolarBear

Description

@ThatIcyPolarBear

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

When using parameters to do a search, not al parameters are used in the link used to grab the results.

I'm not sure how I can explain it better so I'll just give an example:
When I search for a season of a show, sonarr searchs via prowlarr using the parameters: {ImdbId:tt1520211}{season:2}.
Those parameters get parsed correctly, as they're visible in prowlarrs log entry:
2024-04-01 23:02:48.7|Info|ReleaseSearchService|Searching indexer(s): [TheRARBG] for Term: [] | ID(s): IMDbId:[1520211] for Season / Episode:[S02], Offset: 0, Limit: 100, Categories: [2000, 5000, 5080]
However, when I go to the history tab and check the link it used to grab the results I see this:
https://t-rb.org/get-posts/order:-se:category:Movies:category:TV:category:Anime:category:Documentaries:keywords:tt1520211:paginate_by:100:format:json/
which only includes the ImdbId but not the season. This causes the results to vary wildly, they're all the right show of course but not a single one of the 100 results was of the correct season, which causes sonnar of course to fail completely.

If you click on the indexer you can see that the Search Capabilities do say that it supports those parameters, which makes sense because sonarr uses those parameters automatically for that indexer, and not for others that don't support it. Which makes it so only indexers who don't support it work correctly.

Reordering of the parameters has no effect, but removing the ImdbId does cause it to return results of Season 2, but this time of completely random shows.

I looked through the settings of sonarr and prowlarr but couldn't find any settings related to the parameters or Search Capabilities so I figured the next most sensible thing was opening a bug report.

Expected Behavior

When multiple parameters are given they should all be added to the link prowlarr generates.

Steps To Reproduce

  1. Use an indexer that with Search Capabilities that support the parameters ImdbId and Season, or multiple parameters in general
  2. Go to the search tab and in the query options change from Basic search to TV search
  3. Do a search using that indexer and multiple parameters, for example {ImdbId:tt1520211}{season:2}
  4. Watch it return results of the correct show but not of the correct season

Environment

- OS: Unraid 6.12.9
- Prowlarr: 1.15.0.4361
- Docker Install: Yes
- Using Reverse Proxy: No
- Browser: Firefox 124.0.1

What branch are you running?

Master

Trace Logs?

https://gist.github.com/ThatIcyPolarBear/e969e1e63cb02cfaeb6f673bac5dffa5

Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.

  • I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain trace - that are relevant and show this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions