Force update torrent data when no filename is set.
This commit is contained in:
parent
a356632d50
commit
7a8a0946d1
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ public class RealDebridTorrentClient(ILogger<RealDebridTorrentClient> logger, IH
|
||||||
return torrent;
|
return torrent;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (torrentClientTorrent == null || torrentClientTorrent.Ended == null)
|
if (torrentClientTorrent == null || torrentClientTorrent.Ended == null || String.IsNullOrEmpty(torrentClientTorrent.Filename))
|
||||||
{
|
{
|
||||||
torrentClientTorrent = await GetInfo(torrent.RdId) ?? throw new($"Resource not found");
|
torrentClientTorrent = await GetInfo(torrent.RdId) ?? throw new($"Resource not found");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue