Fixed bug where downloads weren't starting properly.
Bump to 1.8.2.
This commit is contained in:
parent
06b4422ab8
commit
7931568803
7 changed files with 13 additions and 5 deletions
|
|
@ -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.8.2] - 2021-08-02
|
||||||
|
### Changed
|
||||||
|
- Fixed issue with starting downloads.
|
||||||
|
|
||||||
## [1.8.1] - 2021-07-31
|
## [1.8.1] - 2021-07-31
|
||||||
### Changed
|
### Changed
|
||||||
- Fixed issue where downloads were hanging the full interface.
|
- Fixed issue where downloads were hanging the full interface.
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,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.8.1</div>
|
<div class="navbar-item">Version 1.8.2</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "rdt-client",
|
"name": "rdt-client",
|
||||||
"version": "1.8.1",
|
"version": "1.8.2",
|
||||||
"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": {
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ namespace RdtClient.Service.Services
|
||||||
Torrents.TorrentResetLock.Release();
|
Torrents.TorrentResetLock.Release();
|
||||||
}
|
}
|
||||||
|
|
||||||
await Task.Delay(TimeSpan.FromSeconds(2), stoppingToken);
|
await Task.Delay(TimeSpan.FromSeconds(1), stoppingToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.LogInformation("TaskRunner stopped.");
|
_logger.LogInformation("TaskRunner stopped.");
|
||||||
|
|
|
||||||
|
|
@ -354,6 +354,8 @@ namespace RdtClient.Service.Services
|
||||||
// The files are selected but there are no downloads yet, check if Real-Debrid has generated links yet.
|
// The files are selected but there are no downloads yet, check if Real-Debrid has generated links yet.
|
||||||
if (torrent.Downloads.Count == 0 && torrent.FilesSelected != null)
|
if (torrent.Downloads.Count == 0 && torrent.FilesSelected != null)
|
||||||
{
|
{
|
||||||
|
Log.Debug($"Torrent {torrent.RdId} checking for links");
|
||||||
|
|
||||||
await _torrents.CheckForLinks(torrent.TorrentId);
|
await _torrents.CheckForLinks(torrent.TorrentId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,9 @@ namespace RdtClient.Service.Services
|
||||||
var rdTorrent = await GetRdNetClient().Torrents.GetInfoAsync(torrent.RdId);
|
var rdTorrent = await GetRdNetClient().Torrents.GetInfoAsync(torrent.RdId);
|
||||||
|
|
||||||
// Sometimes RD will give you 1 rar with all files, sometimes it will give you 1 link per file.
|
// Sometimes RD will give you 1 rar with all files, sometimes it will give you 1 link per file.
|
||||||
if (torrent.Files.Count != rdTorrent.Links.Count && rdTorrent.Links.Count != 1)
|
if (torrent.Files.Count(m => m.Selected) != rdTorrent.Links.Count &&
|
||||||
|
torrent.ManualFiles.Count != rdTorrent.Links.Count &&
|
||||||
|
rdTorrent.Links.Count != 1)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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.8.1</Version>
|
<Version>1.8.2</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue