diff --git a/public/img/6.jpg b/public/img/6.jpg index 0af9de7..5135e5e 100644 Binary files a/public/img/6.jpg and b/public/img/6.jpg differ diff --git a/public/img/7.jpg b/public/img/7.jpg index f9b352b..3691c87 100644 Binary files a/public/img/7.jpg and b/public/img/7.jpg differ diff --git a/src/App.svelte b/src/App.svelte index d1aab19..f377b66 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,11 +1,13 @@ @@ -14,7 +16,11 @@
- + {#if audioMethod === "playlist"} + + {:else if audioMethod === "radio"} + + {/if}
diff --git a/src/config.json b/src/config.json index 503322f..b63b5aa 100644 --- a/src/config.json +++ b/src/config.json @@ -1,10 +1,16 @@ { "imageDuration": 10, "images": ["/img/1.jpg", "/img/2.jpg", "/img/3.jpg", "/img/4.jpg", "/img/5.jpg", "/img/6.jpg", "/img/7.jpg", "/img/8.jpg"], + + "audioMethod": "radio", + + "radio": "https://noise.madhouselabs.net", + "radioServerName": "dope", + "playlist": [ { "title": "MF DOOM - Rapp Snitch Knishes", "location": "/audio/Rapp Snitch Knishes.mp3" }, { "title": "Modjo - Lady (Hear Me Tonight)", "location": "/audio/Lady.mp3" }, { "title": "EVABOY - is there a point (girl u know)", "location": "/audio/is there a point (girl u know).mp3" }, - { "title": "snuffles - SPOTS", "location": "/audio/SPOTS.mp3" } + { "title": "snuffles - SPOTS", "location": "/audio/SPOTS.mp3" } ] } diff --git a/src/lib/Playlist.svelte b/src/lib/Playlist.svelte index 8332c34..30ff343 100644 --- a/src/lib/Playlist.svelte +++ b/src/lib/Playlist.svelte @@ -1,12 +1,11 @@ + +