add album disk number

This commit is contained in:
Sayem Chowdhury 2021-03-28 01:30:43 +06:00
parent afa4ffb31e
commit 38707163c7

View File

@ -188,6 +188,12 @@ export const parseInfo = async (url: string) => {
if (t.VERSION) {
t.SNG_TITLE += ' ' + t.VERSION;
}
if (t.DISK_NUMBER) {
t.ALB_TITLE += ` (Disc ${Number(t.DISK_NUMBER).toLocaleString('en-US', {
minimumIntegerDigits: 2,
useGrouping: false,
})})`;
}
return t;
}),
};