cast info

This commit is contained in:
2026-01-14 18:42:16 +01:00
parent ed2e660d34
commit 83c9bcf12e
3 changed files with 33 additions and 12 deletions

View File

@@ -1263,7 +1263,13 @@ async function play() {
currentCastTransport = 'direct';
}
await invoke('cast_play', { deviceName: currentCastDevice, url: castUrl });
await invoke('cast_play', {
deviceName: currentCastDevice,
url: castUrl,
title: station.title || 'Radio',
artist: station.slogan || undefined,
image: station.logo || undefined
});
isPlaying = true;
// Sync volume
const vol = volumeSlider.value / 100;