Force update torrent data when no filename is set.

This commit is contained in:
Roger Far 2024-07-28 21:42:08 -06:00
parent a356632d50
commit 7a8a0946d1

View file

@ -287,7 +287,7 @@ public class RealDebridTorrentClient(ILogger<RealDebridTorrentClient> logger, IH
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");
}