Fixed issue where sometimes the name of the torrent would change, causing the download not to be recognized by sonarr anymore.

This commit is contained in:
Roger Far 2021-04-19 15:43:06 -06:00
parent 9c236bbe67
commit 49beb60894
5 changed files with 7 additions and 7 deletions

View file

@ -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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.7.3] - 2021-04-19
### Changed
- Fixed issue (hopefully) where sometimes the name of the torrent would change.
## [1.7.2] - 2021-04-14 ## [1.7.2] - 2021-04-14
### Changed ### Changed
- Fixed issue where sometimes the content path is not recognized by Sonarr. - Fixed issue where sometimes the content path is not recognized by Sonarr.

View file

@ -49,7 +49,7 @@
<a class="navbar-item"> Profile </a> <a class="navbar-item"> Profile </a>
<a class="navbar-item" (click)="logout()"> Logout </a> <a class="navbar-item" (click)="logout()"> Logout </a>
<hr class="navbar-divider" /> <hr class="navbar-divider" />
<div class="navbar-item">Version 1.7.2</div> <div class="navbar-item">Version 1.7.3</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
{ {
"name": "rdt-client", "name": "rdt-client",
"version": "1.7.2", "version": "1.7.3",
"description": "This is a web interface to manage your torrents on Real-Debrid.", "description": "This is a web interface to manage your torrents on Real-Debrid.",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {

View file

@ -439,10 +439,6 @@ namespace RdtClient.Service.Services
{ {
torrent.RdName = rdTorrent.Filename; torrent.RdName = rdTorrent.Filename;
} }
else if (!String.IsNullOrWhiteSpace(rdTorrent.OriginalFilename))
{
torrent.RdName = rdTorrent.OriginalFilename;
}
if (rdTorrent.Bytes > 0) if (rdTorrent.Bytes > 0)
{ {

View file

@ -4,7 +4,7 @@
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId> <UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId>
<Version>1.7.2</Version> <Version>1.7.3</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>