fix: incorrect artist for an album in labels
This commit is contained in:
parent
fd7b4acf0f
commit
a892d64dba
|
@ -145,7 +145,7 @@ export default class DiscographyParser {
|
|||
else continue;
|
||||
itemRef.type = url.pathname.startsWith("/track/") ? "track" : "album";
|
||||
itemRef.name = item.title;
|
||||
itemRef.artist = { name: defaultArtistName };
|
||||
itemRef.artist = { name: item.artist ?? defaultArtistName };
|
||||
itemRef.imageUrl = reformatImageUrl(
|
||||
`https://f4.bcbits.com/img/a${item["art_id"]}_10.jpg`,
|
||||
opts.imageFormat
|
||||
|
|
Loading…
Reference in New Issue
Block a user