diff --git a/src/App.svelte b/src/App.svelte index e3ffe0b..928ec70 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -56,6 +56,7 @@ let loadedOverride = $state>({}) let removedLocals = $state>({}) let streamOnly = $state>({}) + let profile = $state('') let player = $state({ loaded: false, playing: false, @@ -375,6 +376,7 @@ error = '' try { const s = await authStatus() + profile = s.profiles[0] ?? '' if (s.logged_in) { clearPoll() loadingMsg = 'Lade Bibliothek…' @@ -758,3 +760,35 @@ {/if} {/if} + + diff --git a/src/app.css b/src/app.css index 15b1048..7b948f4 100644 --- a/src/app.css +++ b/src/app.css @@ -443,3 +443,50 @@ code { align-items: center; gap: 0.5rem; } + +/* Statusleiste (immer sichtbar, unten) */ + +.statusbar { + position: fixed; + left: 0; + right: 0; + bottom: 0; + height: 26px; + display: flex; + align-items: center; + gap: 0.9rem; + padding: 0 1rem; + background: var(--bg-card); + border-top: 1px solid var(--border); + font-size: 0.78rem; + color: var(--fg-muted); + z-index: 7; + overflow: hidden; +} + +.statcell { + display: inline-flex; + align-items: center; + gap: 0.3rem; + white-space: nowrap; +} + +.statflex { + flex: 1; + overflow: hidden; + text-overflow: ellipsis; + min-width: 0; +} + +.statend { + margin-left: auto; + opacity: 0.7; +} + +.playerbar { + bottom: 27px; +} + +.bmpanel { + bottom: 5.9rem; +}