Make required changes for mp3 embedding

This commit is contained in:
mikiher 2024-06-30 15:45:25 +03:00
parent 6fbbc65edf
commit a21b1f3b16
2 changed files with 41 additions and 18 deletions

View file

@ -138,7 +138,7 @@ class AudioMetadataMangaer {
}
}
const success = await ffmpegHelpers.addCoverAndMetadataToFile(af.path, task.data.coverPath, ffmetadataPath, af.path)
const success = await ffmpegHelpers.addCoverAndMetadataToFile(af.path, task.data.coverPath, ffmetadataPath, task.data.mimeType)
if (success) {
Logger.info(`[AudioMetadataManager] Successfully tagged audio file "${af.path}"`)
}