diff --git a/CHANGELOG.md b/CHANGELOG.md index 3019b65..c27d5da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.6.1] - 2021-03-12 +### Changed +- Fixed a bug in the torrent runner where it could download the same file multiple times. + ## [1.6.0] - 2021-03-10 ### Added - Add an option to see which files are available on Real-Debrid on the add torrent modal. diff --git a/client/src/app/navbar/navbar.component.html b/client/src/app/navbar/navbar.component.html index 00dccf3..7f1e86b 100644 --- a/client/src/app/navbar/navbar.component.html +++ b/client/src/app/navbar/navbar.component.html @@ -49,7 +49,7 @@ Profile Logout - + diff --git a/package.json b/package.json index a41a186..92b2f6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rdt-client", - "version": "1.6.0", + "version": "1.6.1", "description": "This is a web interface to manage your torrents on Real-Debrid.", "main": "index.js", "dependencies": { diff --git a/server/RdtClient.Service/Services/TorrentRunner.cs b/server/RdtClient.Service/Services/TorrentRunner.cs index a941ea4..17cd92d 100644 --- a/server/RdtClient.Service/Services/TorrentRunner.cs +++ b/server/RdtClient.Service/Services/TorrentRunner.cs @@ -335,7 +335,7 @@ namespace RdtClient.Service.Services } // RealDebrid is waiting for file selection, select which files to download. - if (torrent.RdStatus == RealDebridStatus.WaitingForFileSelection) + if (torrent.RdStatus == RealDebridStatus.WaitingForFileSelection && torrent.Downloads.Count == 0) { Log.Debug($"Torrent {torrent.RdId} selecting files"); diff --git a/server/RdtClient.Web/RdtClient.Web.csproj b/server/RdtClient.Web/RdtClient.Web.csproj index 1c49530..ebf7133 100644 --- a/server/RdtClient.Web/RdtClient.Web.csproj +++ b/server/RdtClient.Web/RdtClient.Web.csproj @@ -4,7 +4,7 @@ net5.0 Exe 94c24cba-f03f-4453-a671-3640b517c573 - 1.6.0 + 1.6.1