mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-30 09:05:32 +02:00
add album disk number
This commit is contained in:
parent
afa4ffb31e
commit
38707163c7
@ -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;
|
||||
}),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user