fix isrc tag

This commit is contained in:
Sayem Chowdhury 2021-04-23 17:17:03 +06:00
parent 44d84f748a
commit 520a13ca70

View File

@ -19,7 +19,8 @@ export const writeMetadataMp3 = (
.setFrame('TIT2', track.SNG_TITLE)
.setFrame('TALB', track.ALB_TITLE)
.setFrame('TPE1', [artists])
.setFrame('TLEN', Number(track.DURATION) * 1000);
.setFrame('TLEN', Number(track.DURATION) * 1000)
.setFrame('TSRC', track.ISRC);
if (album) {
if (album.genres.data.length > 0) {
@ -56,10 +57,6 @@ export const writeMetadataMp3 = (
description: 'Artists',
value: artists,
})
.setFrame('TXXX', {
description: 'ISRC',
value: track.ISRC,
})
.setFrame('TXXX', {
description: 'SOURCE',
value: 'Deezer',