mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Revert: Prevent an edge case where a download is not marked as complete
This commit is contained in:
parent
05dd17aacb
commit
1498f4e361
@ -21,7 +21,7 @@ public bool IsImported(TrackedDownload trackedDownload, List<EpisodeHistory> his
|
||||
|
||||
var allEpisodesImportedInHistory = trackedDownload.RemoteEpisode.Episodes.All(e =>
|
||||
{
|
||||
var lastHistoryItem = historyItems.FirstOrDefault(h => h.DownloadId == trackedDownload.DownloadItem.DownloadId && h.EpisodeId == e.Id);
|
||||
var lastHistoryItem = historyItems.FirstOrDefault(h => h.EpisodeId == e.Id);
|
||||
|
||||
if (lastHistoryItem == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user