feat!: add rich text description to playlists and albums
fix: panic when parsing new music album/playlist layout
This commit is contained in:
parent
ff68cfb4e1
commit
95ab7c91c6
12 changed files with 146 additions and 42 deletions
|
|
@ -35,7 +35,11 @@ MusicAlbum(
|
|||
),
|
||||
],
|
||||
artist_id: Some("UCRw0x9_EfawqmgDI2IgQLLg"),
|
||||
description: Some("25 is the third studio album by English singer-songwriter Adele, released on 20 November 2015 by XL Recordings and Columbia Records. The album is titled as a reflection of her life and frame of mind at 25 years old and is termed a \"make-up record\". Its lyrical content features themes of Adele \"yearning for her old self, her nostalgia\", and \"melancholia about the passage of time\" according to an interview with the singer by Rolling Stone, as well as themes of motherhood and regret. In contrast to Adele\'s previous works, the production of 25 incorporated the use of electronic elements and creative rhythmic patterns, with elements of 1980s R&B and organs. Like when recording 21, Adele worked with producer and songwriter Paul Epworth and Ryan Tedder, along with new collaborations with Max Martin and Shellback, Bruno Mars, Greg Kurstin, Danger Mouse, the Smeezingtons, Samuel Dixon, and Tobias Jesso Jr.\n25 received generally positive reviews from music critics, who commended its production and Adele\'s vocal performance.\n\nFrom Wikipedia (https://en.wikipedia.org/wiki/25_(Adele_album)) under Creative Commons Attribution CC-BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode)"),
|
||||
description: Some(RichText([
|
||||
Text(
|
||||
text: "25 is the third studio album by English singer-songwriter Adele, released on 20 November 2015 by XL Recordings and Columbia Records. The album is titled as a reflection of her life and frame of mind at 25 years old and is termed a \"make-up record\". Its lyrical content features themes of Adele \"yearning for her old self, her nostalgia\", and \"melancholia about the passage of time\" according to an interview with the singer by Rolling Stone, as well as themes of motherhood and regret. In contrast to Adele\'s previous works, the production of 25 incorporated the use of electronic elements and creative rhythmic patterns, with elements of 1980s R&B and organs. Like when recording 21, Adele worked with producer and songwriter Paul Epworth and Ryan Tedder, along with new collaborations with Max Martin and Shellback, Bruno Mars, Greg Kurstin, Danger Mouse, the Smeezingtons, Samuel Dixon, and Tobias Jesso Jr.\n25 received generally positive reviews from music critics, who commended its production and Adele\'s vocal performance.\n\nFrom Wikipedia (https://en.wikipedia.org/wiki/25_(Adele_album)) under Creative Commons Attribution CC-BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode)",
|
||||
),
|
||||
])),
|
||||
album_type: Album,
|
||||
year: Some(2015),
|
||||
by_va: false,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,26 @@ MusicPlaylist(
|
|||
),
|
||||
],
|
||||
channel: None,
|
||||
description: Some("Kick back and coast to these chillhop and lofi beats. #hiphop #chill #beats"),
|
||||
description: Some(RichText([
|
||||
Text(
|
||||
text: "Kick back and coast to these chillhop and lofi beats. ",
|
||||
),
|
||||
Text(
|
||||
text: "#hiphop",
|
||||
),
|
||||
Text(
|
||||
text: " ",
|
||||
),
|
||||
Text(
|
||||
text: "#chill",
|
||||
),
|
||||
Text(
|
||||
text: " ",
|
||||
),
|
||||
Text(
|
||||
text: "#beats",
|
||||
),
|
||||
])),
|
||||
track_count: Some(127),
|
||||
from_ytm: true,
|
||||
tracks: Paginator(
|
||||
|
|
|
|||
|
|
@ -26,7 +26,11 @@ MusicPlaylist(
|
|||
id: "UCQM0bS4_04-Y4JuYrgmnpZQ",
|
||||
name: "Chaosflo44",
|
||||
)),
|
||||
description: Some("SHINE - Survival Hardcore in New Environment: Auf einem Server machen sich tapfere Spieler auf, mystische Welten zu erkunden, magische Technologien zu erforschen und vorallem zu überleben..."),
|
||||
description: Some(RichText([
|
||||
Text(
|
||||
text: "SHINE - Survival Hardcore in New Environment: Auf einem Server machen sich tapfere Spieler auf, mystische Welten zu erkunden, magische Technologien zu erforschen und vorallem zu überleben...",
|
||||
),
|
||||
])),
|
||||
track_count: Some(66),
|
||||
from_ytm: false,
|
||||
tracks: Paginator(
|
||||
|
|
|
|||
|
|
@ -28,7 +28,11 @@ MusicPlaylist(
|
|||
),
|
||||
],
|
||||
channel: None,
|
||||
description: Some("Stress-free tunes from classic rockers and newer artists."),
|
||||
description: Some(RichText([
|
||||
Text(
|
||||
text: "Stress-free tunes from classic rockers and newer artists.",
|
||||
),
|
||||
])),
|
||||
track_count: Some(87),
|
||||
from_ytm: true,
|
||||
tracks: Paginator(
|
||||
|
|
|
|||
|
|
@ -2741,7 +2741,11 @@ Playlist(
|
|||
height: 188,
|
||||
),
|
||||
],
|
||||
description: Some("SHINE - Survival Hardcore in New Environment: Auf einem Server machen sich tapfere Spieler auf, mystische Welten zu erkunden, magische Technologien zu erforschen und vorallem zu überleben..."),
|
||||
description: Some(RichText([
|
||||
Text(
|
||||
text: "SHINE - Survival Hardcore in New Environment: Auf einem Server machen sich tapfere Spieler auf, mystische Welten zu erkunden, magische Technologien zu erforschen und vorallem zu überleben...",
|
||||
),
|
||||
])),
|
||||
channel: Some(ChannelId(
|
||||
id: "UCQM0bS4_04-Y4JuYrgmnpZQ",
|
||||
name: "Chaosflo44",
|
||||
|
|
|
|||
Reference in a new issue