From a0fcbf1305981c380e4b79fd2ec388d946ddc363 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 27 May 2026 01:03:45 -0700 Subject: swap radios --- moe.pinapelz.com/index.html | 12 ++++-------- moe.pinapelz.com/scripts/index.js | 21 --------------------- 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/moe.pinapelz.com/index.html b/moe.pinapelz.com/index.html index bd634d2..05ba3b6 100644 --- a/moe.pinapelz.com/index.html +++ b/moe.pinapelz.com/index.html @@ -63,7 +63,7 @@
- welcome to pinapelz.moe + welcome to moe.pinapelz.com
-

Patchwork Radio

+

Listen.MOE Radio

Now Playing:

-

Loading... 123

- plz be patient. radio might be down + enjoy some jpop from listen.moe cause i had to take down the vtuber radio :(

- Powered by Patchwork Archive
diff --git a/moe.pinapelz.com/scripts/index.js b/moe.pinapelz.com/scripts/index.js index dbd7ade..b59b827 100644 --- a/moe.pinapelz.com/scripts/index.js +++ b/moe.pinapelz.com/scripts/index.js @@ -104,26 +104,5 @@ document.addEventListener("DOMContentLoaded", () => { }); }); -document.addEventListener('DOMContentLoaded', function() { - function fetchNowPlaying() { - fetch('https://a4.asurahosting.com/api/nowplaying_static/patchworkarchive.json') // Replace with the actual API endpoint - .then(response => response.json()) - .then(data => { - const nowPlaying = data.now_playing.song; - document.getElementById('song-title').textContent = nowPlaying.title; - document.getElementById('song-artist').textContent = nowPlaying.artist; - const songArt = document.getElementById('song-art'); - songArt.src = nowPlaying.art; - songArt.style.display = 'block'; - }) - .catch(error => { - console.error('Error fetching now playing data:', error); - }); - } - - fetchNowPlaying(); - setInterval(fetchNowPlaying, 60000); -}); - setInterval(updateClock, 1000); updateClock(); -- cgit v1.2.3