diff --git a/src/components/AudioPlayer.jsx b/src/components/AudioPlayer.jsx index 01e5964..5019634 100644 --- a/src/components/AudioPlayer.jsx +++ b/src/components/AudioPlayer.jsx @@ -51,8 +51,10 @@ export function Player() { const playStream = () => { let streamPath = STATIONS[activeStation].streamPath; - if (activeStation === "main" && isIOS) { - streamPath = "/hls/sfm.m3u8"; + if (isIOS) { + let lcStation = activeStation.toLowerCase(); + streamPath = `/hls/${lcStation}/${lcStation}.m3u8`; + console.log(`Replaced streamPath: ${streamPath}`); } const streamUrl = "https://stream.codey.lol" +