diff --git a/src/components/player/PersistentPlayer.tsx b/src/components/player/PersistentPlayer.tsx
index 5ca7849..15b7b24 100644
--- a/src/components/player/PersistentPlayer.tsx
+++ b/src/components/player/PersistentPlayer.tsx
@@ -44,6 +44,7 @@ export function PersistentPlayer() {
: undefined);
const seedLabel = current?.albumTitle ?? current?.title ?? '';
const onStream = !cached;
+ const formatLabel = current?.format?.toUpperCase();
return (
@@ -65,6 +66,7 @@ export function PersistentPlayer() {
>
{onStream ? t('player.streaming') : t('player.local')}
+ {formatLabel && ` · ${formatLabel}`}
diff --git a/src/hooks/useResolvedQueueEntry.ts b/src/hooks/useResolvedQueueEntry.ts
index 330ebe2..94e66c7 100644
--- a/src/hooks/useResolvedQueueEntry.ts
+++ b/src/hooks/useResolvedQueueEntry.ts
@@ -10,6 +10,7 @@ export interface ResolvedQueueEntry {
durationMs: number;
hasCover: boolean;
albumArtUrl?: string;
+ format?: string;
}
/**
@@ -35,5 +36,6 @@ export function useResolvedQueueEntry(
durationMs: data?.durationMs ?? entry.durationMs,
hasCover: data?.hasCover ?? false,
albumArtUrl: data?.albumArtUrl ?? entry.albumArtUrl,
+ format: data?.format,
};
}
diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts
index 32bfc59..63447cf 100644
--- a/src/i18n/locales/en.ts
+++ b/src/i18n/locales/en.ts
@@ -126,8 +126,8 @@ const en = {
pause: 'Pause',
play: 'Play',
repeat: 'Repeat: {{mode}}',
- streaming: 'Streaming · 320 kbps',
- local: 'Local · FLAC',
+ streaming: 'Streaming',
+ local: 'Local',
queue: 'Play queue',
mute: 'Mute',
unmute: 'Unmute',
diff --git a/src/i18n/locales/ru.ts b/src/i18n/locales/ru.ts
index 94be15f..a1f26b2 100644
--- a/src/i18n/locales/ru.ts
+++ b/src/i18n/locales/ru.ts
@@ -128,8 +128,8 @@ const ru: Translations = {
pause: 'Пауза',
play: 'Воспроизвести',
repeat: 'Повтор: {{mode}}',
- streaming: 'Стриминг · 320 kbps',
- local: 'Локально · FLAC',
+ streaming: 'Стриминг',
+ local: 'Локально',
queue: 'Очередь',
mute: 'Выключить звук',
unmute: 'Включить звук',