feat: improve sound restoration in PlaylistEditPage by fetching complete sound data

This commit is contained in:
JSC
2025-08-11 22:04:54 +02:00
parent 53e5ec74d8
commit ee05bc8a64
3 changed files with 156 additions and 20 deletions

View File

@@ -504,7 +504,7 @@ export function Player({ className, onPlayerModeChange }: PlayerProps) {
{/* Main Player Area */}
<div className="flex-1 flex flex-col items-center justify-center p-8">
{/* Large Album Art */}
<div className="w-80 aspect-square bg-muted rounded-lg flex items-center justify-center overflow-hidden mb-8">
<div className="max-w-300 max-h-200 aspect-auto bg-muted rounded-lg flex items-center justify-center overflow-hidden mb-8">
{state.current_sound?.thumbnail ? (
<img
src={filesService.getThumbnailUrl(state.current_sound.id)}