fix(player): show actual track format instead of hardcoded FLAC/320kbps
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user