mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 15:29:14 +02:00
do only rt
This commit is contained in:
+2
-2
@@ -286,11 +286,11 @@
|
||||
if(d.dirs) updateDirs(d.dirs);
|
||||
if(d.rds) {
|
||||
const rt = (d.rds?.rt) ?? "";
|
||||
document.getElementById("rds-text").textContent = rt ? `RDS: ${rt}` : "";
|
||||
document.getElementById("rds-text").textContent = rt ?? "";
|
||||
}
|
||||
} else if (msg.event === "rds") {
|
||||
const rt = (msg.data?.rt) ?? "";
|
||||
document.getElementById("rds-text").textContent = rt ? `RDS: ${rt}` : "";
|
||||
document.getElementById("rds-text").textContent = rt ?? "";
|
||||
} else if(msg.event === "playlist") {
|
||||
playlist = msg.data || [];
|
||||
renderPlaylist();
|
||||
|
||||
Reference in New Issue
Block a user