Commit graph

35 commits

Author SHA1 Message Date
Roger Versluis
ee5b5f8dc3 Upgrade to .NET 9, code cleanup. 2024-11-18 03:39:12 -07:00
Ruakij
3bae4501a5
Accept login via qbittorrent-api when AuthType is none 2024-10-27 18:02:32 +01:00
Roger Far
cc52f5f7f5 Fixed download progress reporting to the qBittorrent API. 2024-09-02 21:07:46 -06:00
Roger Far
a356632d50 Upgrade to MonoTorrent 3.
Catch infringed files from Real-Debrid and return a Failed. on qBittorrent.
2024-07-28 21:21:09 -06:00
Roger Far
8dd0eec654 Add retry handler with polly to intercept 429 rate limit errors with Real-Debrid. 2024-07-13 19:54:36 -06:00
Roger Far
3b72463663 Added bit of logging to debug downloader issues, upgraded packages, cleaned up C# code. 2024-04-06 13:54:58 -06:00
Roger Versluis
b8e45417b5 Update to .NET 8.
Some checks failed
Docker Image CI / build (push) Has been cancelled
2023-11-14 14:29:32 -07:00
Roger Far
6ad6da5679 Add extra request logging. 2023-09-20 20:28:06 -06:00
Roger Far
b6c79d32a7 Add anonymous authentication. 2023-03-08 20:28:09 -07:00
Roger Far
e3b38d2834 Add nullable to the projects. 2022-05-13 18:51:04 -06:00
Roger Far
cd6002b5d6 Upgrade packages
Moved C# code to file scoped namespaces
Merged Startup.cs and Program.cs
2022-04-30 11:22:15 -06:00
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
Roger Far
f75ac43e49 Add QBittorrent API sync/maindata endpoint for home assistant integration. 2022-03-19 12:49:38 -06:00
Roger Far
b3dd856410 Add retry count as a setting per torrent and global.
Add error status on the torrent itself too.
Improved torrent retrying.
2021-10-30 10:25:53 -06:00
Roger Far
6ac0265d2d Add priority mechanishm and support for sonarr priority.
Changed to have /torrents/files return only files that are selected.
Add pause/unpause from Sonarr/Radar. Works only for Aria2.
2021-10-24 10:40:59 -06:00
Roger Far
e4c001b0ce Update database settings retrieval. 2021-07-20 22:53:55 -06:00
Roger Far
3ee687f615 Created a separate page for torrent into, added download retrying per file. 2021-07-18 22:46:17 -06:00
Roger Far
fa11dc9bc7 Big update on the add download and setting screens which are now proper pages instead of modals.
Fixed issue where it would slow down on waiting for RealDebrid generating links for downloads.
2021-07-18 17:29:45 -06:00
Roger Far
e4d522b00e Upgrade packages, clean up some small things. 2021-07-18 14:17:13 -06:00
Roger Far
0e1e547c71 Add category support by saving the categories in the settings table now. 2021-07-18 14:11:40 -06:00
Roger Far
fe3b7d8867 Improve handling of torrent URL's that are HTTP files. 2021-04-28 07:46:07 -06:00
Roger Far
659675d538 Update packages. 2021-04-26 19:47:33 -06:00
Roger Far
5265a8b442 Changed the unrestrict process to only unrestrict when the download is starting. 2021-03-10 17:56:54 -07:00
Roger Far
3598b1f218 Fixed category setting when adding a torrent from Sonarr or Radarr. 2021-01-13 19:15:00 -07:00
Roger Far
4f0d75a9f5 Fixed issue with qBittorrent category save paths and updated all qBittorrent versions. 2021-01-13 16:03:15 -07:00
Roger Far
64d1250345 Add radarr and sonarr categories to make the new version of radarr work. 2021-01-13 11:46:57 -07:00
Roger Far
337ecdecd8 Release fixes 2021-01-13 11:16:39 -07:00
Roger Far
a27bd37991 Refactored download processor. 2021-01-09 19:51:36 -07:00
Alex Taylor
4d92a6f42d Implement torrents/files endpoint
It seems that recently sonarr and radarr have changed the qbittorrent inegration such at the torrents/files endpoint is required for file mapping to work. I've tested this against both sonarr and radarr, and things seem to be working.
2020-12-01 01:07:49 -08:00
Roger Far
5234f6cad3 Don't delete the torrent when it's finished when it comes from the QBittorrentAPI, let the caller handle deletion 2020-04-18 12:46:39 -06:00
Roger Far
731daddc99 Improved logging and fixed queued failure handling. 2020-04-18 08:07:06 -06:00
Roger Far
dc4992a360 Changed how the service gets installed, fixed few bugs 2020-04-17 07:30:29 -06:00
Roger Far
bfba5c99fb Switched out RDNET Dll with Nuget package, update Angular. Rewrote Download handler and removed references to Hangfire. 2020-04-10 16:48:33 -06:00
Roger Far
76b8513d6b Fixed some issues, first release beta. 2020-04-07 18:40:58 -06:00
Roger Far
443843b146 Add the QBittorrent proxy 2020-04-07 10:22:18 -06:00