mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-05 16:25:05 +00:00
Fixed: Don't try to audio tag ebook files
This commit is contained in:
@@ -205,7 +205,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||
|
||||
_logger.Debug($"Syncing audio tags for {bookFiles.Count} files");
|
||||
|
||||
foreach (var file in bookFiles)
|
||||
foreach (var file in bookFiles.Where(x => MediaFileExtensions.AudioExtensions.Contains(Path.GetExtension(x.Path))))
|
||||
{
|
||||
// populate tracks (which should also have release/book/author set) because
|
||||
// not all of the updates will have been committed to the database yet
|
||||
|
||||
Reference in New Issue
Block a user