mirror of
https://github.com/Readarr/Readarr
synced 2026-02-11 01:04:44 +01:00
Fixed: Import queue not processing after incomplete import
(cherry picked from commit 3afae968ebc72ad35abe07cfc4b84d7e243b1840)
This commit is contained in:
parent
2fb1b8af20
commit
102481ed60
1 changed files with 3 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ public bool VerifyImport(TrackedDownload trackedDownload, List<ImportResult> imp
|
|||
.Log();
|
||||
}
|
||||
|
||||
var episodes = _episodeService.GetEpisodes(trackedDownload.RemoteEpisode.Episodes.Select(e => e.Id));
|
||||
var files = _mediaFileService.GetFiles(episodes.Select(e => e.EpisodeFileId).Where(i => i > 0).Distinct());
|
||||
|
||||
trackedDownload.State = TrackedDownloadState.Imported;
|
||||
|
||||
var importedAuthorId = historyItems.Where(x => x.EventType == EntityHistoryEventType.BookFileImported)
|
||||
|
|
|
|||
Loading…
Reference in a new issue