diff --git a/nginx/vue/src/components/Radio.vue b/nginx/vue/src/components/Radio.vue index 73acf43..204c9aa 100644 --- a/nginx/vue/src/components/Radio.vue +++ b/nginx/vue/src/components/Radio.vue @@ -18,7 +18,7 @@ const checkStream = async () => { const res = await fetch("/radio/status-json.xsl"); // Icecast JSON status const data = await res.json(); // Replace 'mounts' and '/stream' with your Icecast mountpoint - streamMount.value = data.icestats.source[0].listenurl.split("/").pop(); + streamMount.value = data.icestats.source.listenurl.split("/").pop(); if (streamMount.value) { streamLive.value = true;