fix: lyrics sync via LRCLIB fallback + tab overflow fix

- Rename "Warteschlange" -> "Queue", tighten tab padding/letter-spacing
  so all 3 tabs fit on narrow screens
- _loadNpLyrics now tries Navidrome getLyricsBySongId first (works once
  .lrc sidecar is rescanned), then falls back to fetching synced LRC
  directly from LRCLIB and parsing [mm:ss.xx] timestamps in the frontend
- Plain text shown as last resort if no synced lyrics found

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-04-26 18:49:56 +02:00
1 parent fbabdf8269
commit f5e0af6e90
3 files changed
+66 -25

No files matched your search

+1 -1
View File
@@ -608,7 +608,7 @@ nav{flex:1;overflow-y:auto;padding:4px 10px}
.np-icon-btn:hover{color:#fff;background:rgba(255,255,255,.08)}
/* NP tabs */
.np-tabs{display:flex;gap:2px;background:rgba(255,255,255,.08);border-radius:20px;padding:3px;flex:1;min-width:0}
.np-tab{background:none;border:none;color:rgba(255,255,255,.45);font-size:10px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;padding:5px 10px;border-radius:16px;cursor:pointer;transition:all .2s;font-family:var(--font);flex:1;white-space:nowrap}
.np-tab{background:none;border:none;color:rgba(255,255,255,.45);font-size:10px;font-weight:700;letter-spacing:0;text-transform:uppercase;padding:5px 7px;border-radius:16px;cursor:pointer;transition:all .2s;font-family:var(--font);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-tab.active{background:rgba(255,255,255,.15);color:#fff}
/* NP queue view */
#np-player-view{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;flex:1;min-height:0}