mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
Better tracking of CalibreId
This commit is contained in:
@@ -206,6 +206,11 @@ namespace NzbDrone.Core.MediaFiles.BookImport
|
||||
if (previousFile != null)
|
||||
{
|
||||
_mediaFileService.Delete(previousFile, DeleteMediaFileReason.ManualOverride);
|
||||
|
||||
if (bookFile.CalibreId == 0 && previousFile.CalibreId != 0)
|
||||
{
|
||||
bookFile.CalibreId = previousFile.CalibreId;
|
||||
}
|
||||
}
|
||||
|
||||
_audioTagService.WriteTags(bookFile, false);
|
||||
|
||||
Reference in New Issue
Block a user