|
|
|
@ -10,13 +10,13 @@ function liveplayer (elt) {
|
|
|
|
|
if (d.time && d.time != last_timestamp) {
|
|
|
|
|
last_timestamp = d.time;
|
|
|
|
|
console.log("CURRENT METADATA", d);
|
|
|
|
|
var old_nowplaying = elt.querySelector(".nowplaying");
|
|
|
|
|
var old_nowplaying = elt.querySelector(".now_playing");
|
|
|
|
|
if (old_nowplaying) {
|
|
|
|
|
old_nowplaying.classList.remove("nowplaying");
|
|
|
|
|
old_nowplaying.classList.remove("now_playing");
|
|
|
|
|
}
|
|
|
|
|
var nowplaying = elt.querySelector(d.title);
|
|
|
|
|
if (nowplaying) {
|
|
|
|
|
nowplaying.classList.add("nowplaying");
|
|
|
|
|
nowplaying.classList.add("now_playing");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|