diff --git a/CHANGELOG.md b/CHANGELOG.md index f688ebf..d65ab42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased +## [2.0.118] - 2025-10-06 +### Added +- Added some fake qBittorrent API calls for decluttarr. + ## [2.0.117] - 2025-10-06 ### Removed - Removed internal downloader and migrated to the Bezzad downloader. diff --git a/server/RdtClient.Web/Controllers/QBittorrentController.cs b/server/RdtClient.Web/Controllers/QBittorrentController.cs index 118b89e..3d4a036 100644 --- a/server/RdtClient.Web/Controllers/QBittorrentController.cs +++ b/server/RdtClient.Web/Controllers/QBittorrentController.cs @@ -377,6 +377,15 @@ public class QBittorrentController(ILogger logger, QBitto return Ok(); } + + [Authorize(Policy = "AuthSetting")] + [Route("torrents/filePrio")] + [HttpGet] + [HttpPost] + public async Task TorrentsFilePrio() + { + return Ok(); + } [Authorize(Policy = "AuthSetting")] [Route("torrents/setCategory")] @@ -432,6 +441,15 @@ public class QBittorrentController(ILogger logger, QBitto return Ok(); } + + [Authorize(Policy = "AuthSetting")] + [Route("torrents/createTags")] + [HttpGet] + [HttpPost] + public ActionResult TorrentsCreateTags() + { + return Ok(); + } [Authorize(Policy = "AuthSetting")] [Route("torrents/removeCategories")] @@ -462,6 +480,15 @@ public class QBittorrentController(ILogger logger, QBitto { return Ok(); } + + [Authorize(Policy = "AuthSetting")] + [Route("torrents/tags")] + [HttpGet] + [HttpPost] + public ActionResult TorrentsTags() + { + return Ok(new List()); + } [Authorize(Policy = "AuthSetting")] [Route("torrents/topPrio")]