no local cache

This commit is contained in:
2025-12-17 10:10:56 +01:00
parent ca36a102e5
commit 1bf34fe949
21 changed files with 636 additions and 132 deletions

View File

@@ -83,9 +83,12 @@ impl LazyProvider for QobuzLazyProvider {
async fn cover_url(&self, lazy_pk: &str) -> Result<Option<String>> {
let track = self.fetch_track(lazy_pk).await?;
Ok(track
.album
.and_then(|a| a.image)
.and_then(|url| if url.is_empty() { None } else { Some(url) }))
Ok(track.album.and_then(|a| a.image).and_then(|url| {
if url.is_empty() {
None
} else {
Some(url)
}
}))
}
}