Added the playlist generator
CI / check (push) Successful in 1m12s
CI / docker (push) Successful in 2m1s

This commit is contained in:
Connor Johnstone
2026-03-20 18:09:47 -04:00
parent 4008b4d838
commit 6f73bb87ce
19 changed files with 1526 additions and 21 deletions
+16
View File
@@ -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 {