BTN treats ID searches as ANDs #849

Closed
opened 2026-02-20 10:04:19 -05:00 by deekerman · 1 comment
Owner

Originally created by @PearsonFlyer on GitHub (Apr 29, 2023).

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

When searching BTN for TV series by ID's, it fails to return any results if more than one ID number is searched at one time. For example if a TVDBID and a RAGEID are both searched, there will be no results. But if just a TVDBID or just a RAGEID are searched, there are results.

Expected Behavior

I believe the behavior should be to just use TVDBID for the ID search, even if there are multiple. But maybe there's a better approach.

Steps To Reproduce

  1. Perform a search of BTN with multiple ID's
  2. Perform the same search of BTN with just a single one of those ID's.

Environment

- OS: Windows 10
- Prowlarr: 1.4.1.3246
- Docker Install: No
- Using Reverse Proxy: Yes
- Browser: Firefox

What branch are you running?

Nightly

Trace Logs?

No results:

2023-04-28 14:54:52.9|Debug|BroadcastheNet|Downloading Feed https://api.broadcasthe.net/: getTorrents("(removed)", {"Category":"Episode","Name":"S06E04","Tvdb":"77728","Tvrage":"5175"}, 100, 0)

Results:

2023-04-28 14:54:52.9|Debug|BroadcastheNet|Downloading Feed https://api.broadcasthe.net/: getTorrents("(removed)", {"Category":"Episode","Name":"S06E04","Tvdb":"77728"}, 100, 0)

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

  • I have followed the steps in the wiki link above and provided the required trace logs that are relevant and show this issue.
Originally created by @PearsonFlyer on GitHub (Apr 29, 2023). ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior When searching BTN for TV series by ID's, it fails to return any results if more than one ID number is searched at one time. For example if a TVDBID and a RAGEID are both searched, there will be no results. But if just a TVDBID or just a RAGEID are searched, there are results. ### Expected Behavior I believe the behavior should be to just use TVDBID for the ID search, even if there are multiple. But maybe there's a better approach. ### Steps To Reproduce 1. Perform a search of BTN with multiple ID's 2. Perform the same search of BTN with just a single one of those ID's. ### Environment ```markdown - OS: Windows 10 - Prowlarr: 1.4.1.3246 - Docker Install: No - Using Reverse Proxy: Yes - Browser: Firefox ``` ### What branch are you running? Nightly ### Trace Logs? No results: 2023-04-28 14:54:52.9|Debug|BroadcastheNet|Downloading Feed https://api.broadcasthe.net/: getTorrents("(removed)", {"Category":"Episode","Name":"S06E04","Tvdb":"77728","Tvrage":"5175"}, 100, 0) Results: 2023-04-28 14:54:52.9|Debug|BroadcastheNet|Downloading Feed https://api.broadcasthe.net/: getTorrents("(removed)", {"Category":"Episode","Name":"S06E04","Tvdb":"77728"}, 100, 0) ### Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided. - [X] I have followed the steps in the wiki link above and provided the required trace logs that are relevant and show this issue.
Author
Owner

@bakerboy448 commented on GitHub (Apr 29, 2023):

@bakerboy448 commented on GitHub (Apr 29, 2023): - Sonarr BTN Native does TVDb only if it exists else tvrage: https://github.com/Sonarr/Sonarr/blob/83cee4b00e8c64d749d2ff1d8575d31570beecba/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetRequestGenerator.cs#L201 - Also need to handle/fix if there is no id and ensure the search term is used
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Prowlarr#849
No description provided.