Fixed trackTotal issue on MP3s

This commit is contained in:
RemixDev 2021-06-05 18:29:54 +02:00
parent b27c9f7bd3
commit b7c4fa9575

View file

@ -39,7 +39,7 @@ function tagID3(path, track, save){
if (save.trackNumber){
let trackNumber = String(track.trackNumber)
if (save.trackTotal) trackNumber += `/${track.album.discTotal}`
if (save.trackTotal) trackNumber += `/${track.album.trackTotal}`
tag.setFrame('TRCK', trackNumber)
}
if (save.discNumber){