feat: add music charts
This commit is contained in:
parent
e063c04821
commit
f20ea693a6
19 changed files with 128651 additions and 42 deletions
|
|
@ -264,9 +264,9 @@ impl MapResponse<MusicAlbum> for response::MusicPlaylist {
|
|||
for section in sections {
|
||||
match section {
|
||||
response::music_item::ItemSection::MusicShelfRenderer(sh) => shelf = Some(sh),
|
||||
response::music_item::ItemSection::MusicCarouselShelfRenderer {
|
||||
contents, ..
|
||||
} => album_variants = Some(contents),
|
||||
response::music_item::ItemSection::MusicCarouselShelfRenderer(sh) => {
|
||||
album_variants = Some(sh.contents)
|
||||
}
|
||||
response::music_item::ItemSection::None => (),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue