mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-27 07:34:42 +02:00
fix isrc tag
This commit is contained in:
parent
44d84f748a
commit
520a13ca70
@ -19,7 +19,8 @@ export const writeMetadataMp3 = (
|
|||||||
.setFrame('TIT2', track.SNG_TITLE)
|
.setFrame('TIT2', track.SNG_TITLE)
|
||||||
.setFrame('TALB', track.ALB_TITLE)
|
.setFrame('TALB', track.ALB_TITLE)
|
||||||
.setFrame('TPE1', [artists])
|
.setFrame('TPE1', [artists])
|
||||||
.setFrame('TLEN', Number(track.DURATION) * 1000);
|
.setFrame('TLEN', Number(track.DURATION) * 1000)
|
||||||
|
.setFrame('TSRC', track.ISRC);
|
||||||
|
|
||||||
if (album) {
|
if (album) {
|
||||||
if (album.genres.data.length > 0) {
|
if (album.genres.data.length > 0) {
|
||||||
@ -56,10 +57,6 @@ export const writeMetadataMp3 = (
|
|||||||
description: 'Artists',
|
description: 'Artists',
|
||||||
value: artists,
|
value: artists,
|
||||||
})
|
})
|
||||||
.setFrame('TXXX', {
|
|
||||||
description: 'ISRC',
|
|
||||||
value: track.ISRC,
|
|
||||||
})
|
|
||||||
.setFrame('TXXX', {
|
.setFrame('TXXX', {
|
||||||
description: 'SOURCE',
|
description: 'SOURCE',
|
||||||
value: 'Deezer',
|
value: 'Deezer',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user