Fixed: Don't try to audio tag ebook files

This commit is contained in:
ta264 2021-07-25 21:40:10 +01:00
parent fcd5005502
commit 2e5a9b8dd4

View file

@ -205,7 +205,7 @@ public void SyncTags(List<Edition> editions)
_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