fix(player): show actual track format instead of hardcoded FLAC/320kbps
Docker Build & Publish / build (push) Has been cancelled
Docker Build & Publish / push (push) Has been cancelled
Docker Build & Publish / Prune old image versions (push) Has been cancelled

This commit is contained in:
Senko-san
2026-06-13 18:06:35 +03:00
parent 8ae447e08d
commit a8e060d1a8
4 changed files with 8 additions and 4 deletions
@@ -44,6 +44,7 @@ export function PersistentPlayer() {
: undefined);
const seedLabel = current?.albumTitle ?? current?.title ?? '';
const onStream = !cached;
const formatLabel = current?.format?.toUpperCase();
return (
<div className="player">
@@ -65,6 +66,7 @@ export function PersistentPlayer() {
>
<Icon name={onStream ? 'cloud' : 'check-circle'} fill={!onStream} />
{onStream ? t('player.streaming') : t('player.local')}
{formatLabel && ` · ${formatLabel}`}
</div>
</div>
</div>