Add support for new radioapi version.
Este commit está contenido en:
@@ -507,7 +507,7 @@ function getStreamingData() {
|
|||||||
var page = new Page()
|
var page = new Page()
|
||||||
|
|
||||||
// Extract current song info from unified API
|
// Extract current song info from unified API
|
||||||
const song = data.title || ""
|
const song = data.song || ""
|
||||||
const artist = data.artist || ""
|
const artist = data.artist || ""
|
||||||
|
|
||||||
// Change the title
|
// Change the title
|
||||||
@@ -523,8 +523,8 @@ function getStreamingData() {
|
|||||||
page.refreshCurrentSong(song, artist)
|
page.refreshCurrentSong(song, artist)
|
||||||
|
|
||||||
// Update artwork using the direct URL from API
|
// Update artwork using the direct URL from API
|
||||||
if (data.art) {
|
if (data.artwork) {
|
||||||
page.refreshCover(data.art, song, artist)
|
page.refreshCover(data.artwork, song, artist)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update lyrics
|
// Update lyrics
|
||||||
|
|||||||
Referencia en una nueva incidencia
Block a user