fix missing album genre after refactor
This commit is contained in:
parent
b1acf3d711
commit
bed9761fc1
@ -10,6 +10,7 @@ export interface Album {
|
||||
artistId: string
|
||||
year: number
|
||||
starred: boolean
|
||||
genre?: string
|
||||
image?: string
|
||||
tracks?: Track[]
|
||||
}
|
||||
@ -277,6 +278,7 @@ export class API {
|
||||
image: this.getCoverArtUrl(item),
|
||||
year: item.year || 0,
|
||||
starred: !!item.starred,
|
||||
genre: item.genre,
|
||||
tracks: (item.song || []).map(this.normalizeTrack, this)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user