From 1f1a5cd3a680d0d50aabc02edfe2cad117f405ed Mon Sep 17 00:00:00 2001 From: Honey Date: Thu, 4 Jun 2026 10:38:15 +0200 Subject: [PATCH] fix: startup speed, image retry, shuffle random start, genres, search badge, playlist refresh - Remove await on fetchRomajiIndex() at startup so navigation is not blocked by the romaji index network call (was the main cause of 30s Android startup) - Add window._imgRetry() with 3 retries (1.5s/3s/4.5s backoff) for all card/ song/cover images that fail to load; falls back to emoji only after exhausting retries - playQueue with HAS_BRIDGE + shuffle: pick a random startIdx so album/playlist playback starts at a random track, not always index 0 - Reduce mobile genre grid limit from 12 to 6 - Fix "Global Suche" badge text: was "iTunes Store + Local", now "iTunes Store" - deleteSong: always refresh loadPlaylists() unconditionally (not just when page is active) with a 3s delay so song counts are current when navigating back Co-Authored-By: Claude Sonnet 4.6 --- index.html | 2 +- src/components.js | 12 ++++++++++-- src/main.js | 2 +- src/player.js | 5 +++++ src/ui.js | 10 +++++----- src/views.js | 8 ++++---- 6 files changed, 26 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 15989f0..e98fe98 100644 --- a/index.html +++ b/index.html @@ -315,7 +315,7 @@