Embed track number

This commit is contained in:
advplyr 2024-07-01 16:57:14 -05:00
parent a21b1f3b16
commit 4732ca8119
2 changed files with 7 additions and 2 deletions

View file

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