download title

Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-08-27 16:13:59 +02:00
padre 7c41ab7bb9
commit 2e64079c38

Ver fichero

@@ -103,11 +103,11 @@ const useStreamData = () => {
link: json?.media['@ref']?.replace('/musica', 'https://radio.manalejandro.com') || '',
trackInfo
}));
} else if (!json?.media) {
} else if (!json?.media && json?.title) {
setStreamInfo(prev => ({
...prev,
title: 'Stream Radio',
link: '',
link: json?.title?.replace('/musica', 'https://radio.manalejandro.com') || '',
trackInfo: 'Now Playing: Title not available'
}));
}