Album covers, logos and descriptions from the web

- Search online from an album's Edit dialog: covers from TheAudioDB,
  Deezer, Apple Music and the Cover Art Archive, logos from Wikidata,
  Wikimedia Commons and the artist's TheAudioDB logo, and a Wikipedia
  page for the description
- Album pages show the logo and an About section, looked up
  automatically when "Find artist and album info" is on
- Your own logo file and About text, kept in albums.json
- Clean no longer deletes artist or album logos; backups include them
- Artist pages credit the real bio source
- Home shelves show exactly one row instead of peeking into a second
- Window buttons use the native Windows icon font so they stay sharp
  at any display scale
- Web requests identify Atmosphere with its repo link
This commit is contained in:
Christian
2026-11-20 17:25:42 -05:00
parent c5c3357666
commit 6430c1ffc1
11 changed files with 792 additions and 36 deletions
+1 -3
View File
@@ -206,12 +206,10 @@ function bindWindow() {
const api = window.__TAURI__.window;
if (!api?.getCurrentWindow) return;
const win = api.getCurrentWindow();
const restoreSvg = '<svg viewBox="0 0 10 10" aria-hidden="true"><path d="M2.5 2.5V0.5h7v7h-2" /><rect x="0.5" y="2.5" width="7" height="7" /></svg>';
const maxSvg = '<svg viewBox="0 0 10 10" aria-hidden="true"><rect x="0.5" y="0.5" width="9" height="9" /></svg>';
const syncMax = async () => {
const maxed = await win.isMaximized().catch(() => false);
const b = $("#winMax");
b.innerHTML = maxed ? restoreSvg : maxSvg;
b.firstElementChild.textContent = maxed ? "\uE923" : "\uE922";
b.setAttribute("aria-label", maxed ? "Restore" : "Maximize");
b.title = maxed ? "Restore" : "Maximize";
};