= tracks?.into_iter().take(50).collect();
- let cover = tracks.first().and_then(|t| best_image(&t["image"]));
+ let cover = match tracks.first() {
+ Some(t) => super::covers::cover(&b.state, t).await,
+ None => None,
+ };
let accent = colors::accent(&b.state, cover.as_deref().or(Some(&b.avatar)), GREEN).await;
- Ok(Self { scrobbles: num(&info?, "playcount"), b, tracks, accent, page: 0, over: false })
+ Ok(Self { scrobbles: num(&info?, "playcount"), b, tracks, cover, accent, page: 0, over: false })
}
fn pages(&self) -> usize {
@@ -272,7 +288,7 @@ impl Game for Recent {
}
}
}).collect();
- let cover = self.tracks.first().and_then(|t| best_image(&t["image"]));
+ let cover = &self.cover;
let mut buttons = nav(t, self.page, self.pages());
buttons.push(go(t, "top", "Top", "🏆"));
buttons.push(go(t, "profile", "Profile", "👤"));
diff --git a/web/site/privacy.html b/web/site/privacy.html
index 9a85a8f..85bd250 100644
--- a/web/site/privacy.html
+++ b/web/site/privacy.html
@@ -31,7 +31,7 @@
2. Services Dezio talks to
- To do what you ask, Dezio sends the needed parts of your request to: Discord; OpenRouter (AI replies — the last few messages of a conversation are kept in memory for about 20 minutes); ListenBrainz, MusicBrainz, the Cover Art Archive, Wikimedia Commons and Deezer (song search for lyrics); the sites you play or download from; VirusTotal (links and files you ask it to scan); Google Translate and MyMemory (text you translate); Open-Meteo (weather); DuckDuckGo, Bing, Openverse, Zenserp, Wikipedia, dictionary and Urban Dictionary APIs (searches); TBIB and Xbooru (age-restricted image searches); and GIF and animal picture APIs.
+ To do what you ask, Dezio sends the needed parts of your request to: Discord; OpenRouter (AI replies — the last few messages of a conversation are kept in memory for about 20 minutes); ListenBrainz, MusicBrainz, the Cover Art Archive, Wikimedia Commons, Deezer and iTunes (album covers, artist photos and song search); the sites you play or download from; VirusTotal (links and files you ask it to scan); Google Translate and MyMemory (text you translate); Open-Meteo (weather); DuckDuckGo, Bing, Openverse, Zenserp, Wikipedia, dictionary and Urban Dictionary APIs (searches); TBIB and Xbooru (age-restricted image searches); and GIF and animal picture APIs.
3. What Dezio doesn't do
Dezio doesn't sell your data or use it for advertising, and doesn't read messages beyond what its features need (commands, mentions, logging, snipe and automatic channel features that servers turn on).