feat: add album description
This commit is contained in:
parent
6f07095757
commit
dfd33d5e9b
19 changed files with 6200 additions and 79 deletions
|
|
@ -17,6 +17,7 @@ MusicAlbum(
|
|||
name: "Dirk Jacobs",
|
||||
),
|
||||
],
|
||||
description: None,
|
||||
album_type: Audiobook,
|
||||
year: Some(2022),
|
||||
by_va: false,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ MusicAlbum(
|
|||
name: "Madeline Juno",
|
||||
),
|
||||
],
|
||||
description: None,
|
||||
album_type: Ep,
|
||||
year: Some(2016),
|
||||
by_va: false,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ MusicAlbum(
|
|||
name: "Oonagh",
|
||||
),
|
||||
],
|
||||
description: None,
|
||||
album_type: Album,
|
||||
year: Some(2016),
|
||||
by_va: false,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ MusicAlbum(
|
|||
name: "Kingdom Force",
|
||||
),
|
||||
],
|
||||
description: None,
|
||||
album_type: Show,
|
||||
year: Some(2022),
|
||||
by_va: false,
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ MusicAlbum(
|
|||
name: "Vanessa Mai",
|
||||
),
|
||||
],
|
||||
description: None,
|
||||
album_type: Single,
|
||||
year: Some(2020),
|
||||
by_va: false,
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ MusicAlbum(
|
|||
name: "<Queendom2> FINAL",
|
||||
cover: "[cover]",
|
||||
artists: [],
|
||||
description: None,
|
||||
album_type: Single,
|
||||
year: Some(2022),
|
||||
by_va: true,
|
||||
|
|
|
|||
|
|
@ -1587,7 +1587,11 @@ async fn music_search_albums(
|
|||
#[tokio::test]
|
||||
async fn music_search_artists() {
|
||||
let rp = RustyPipe::builder().strict().build();
|
||||
let res = rp.query().music_search_artists("namika").await.unwrap();
|
||||
let res = rp
|
||||
.query()
|
||||
.music_search_artists("namika lieblingsmensch")
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
let artist = &res.items.items[0];
|
||||
assert_eq!(artist.id, "UCIh4j8fXWf2U0ro0qnGU8Mg");
|
||||
|
|
|
|||
Reference in a new issue