rdt-client/server/RdtClient.Web/Controllers
Edouard CHIN dcea8dcc1a Filter torrents with the category query string:
- ### Problem

  When using multiple *arr instances (sonarr, radarr ...), the queue
  on each instance displays *all* torrents being processed by RDT.
  The normal behaviour is to display torrents that have the same
  category as the one set in the DownloadClient config on
  radarr/sonarr.

  ### Solution

  *arr uses the `/api/v2/torrents/info` QBittorrent endpoint which
  accepts a `category` query string.
  This is how the Qbittorent API behaves when that query string
  exists:

  ```text
  See https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list

  Get torrents with the given category.
  empty string means "without category";
  no "category" parameter means "any category"
  ```

  See [here](3125b038d5/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxyV2.cs (L96)) how radarr sets the categories when making the query.

  Thanks for your indulgence, first time writing dotnet :)
2022-04-28 21:18:56 +02:00
..
AuthController.cs Add profile pages to update your username and password. 2022-02-06 12:27:36 -07:00
QBittorrentController.cs Filter torrents with the category query string: 2022-04-28 21:18:56 +02:00
SettingsController.cs Add retry count as a setting per torrent and global. 2021-10-30 10:25:53 -06:00
TorrentsController.cs Add AllDebrid support. 2021-10-30 18:48:32 -06:00