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