Added the playlist generator
This commit is contained in:
@@ -111,6 +111,22 @@ pub struct ReleaseTrack {
|
||||
pub duration_ms: Option<u64>,
|
||||
}
|
||||
|
||||
/// A similar artist returned by Last.fm or another provider.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct SimilarArtist {
|
||||
pub name: String,
|
||||
pub mbid: Option<String>,
|
||||
pub match_score: f64,
|
||||
}
|
||||
|
||||
/// A popular/top track for an artist from Last.fm.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct PopularTrack {
|
||||
pub name: String,
|
||||
pub mbid: Option<String>,
|
||||
pub playcount: u64,
|
||||
}
|
||||
|
||||
/// Result from a lyrics lookup.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct LyricsResult {
|
||||
|
||||
Reference in New Issue
Block a user