mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 18:36:26 +00:00
Fixed trackTotal issue on MP3s
This commit is contained in:
parent
b27c9f7bd3
commit
b7c4fa9575
|
@ -39,7 +39,7 @@ function tagID3(path, track, save){
|
||||||
|
|
||||||
if (save.trackNumber){
|
if (save.trackNumber){
|
||||||
let trackNumber = String(track.trackNumber)
|
let trackNumber = String(track.trackNumber)
|
||||||
if (save.trackTotal) trackNumber += `/${track.album.discTotal}`
|
if (save.trackTotal) trackNumber += `/${track.album.trackTotal}`
|
||||||
tag.setFrame('TRCK', trackNumber)
|
tag.setFrame('TRCK', trackNumber)
|
||||||
}
|
}
|
||||||
if (save.discNumber){
|
if (save.discNumber){
|
||||||
|
|
Loading…
Reference in a new issue