cast info
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user