[Release] [JS] Radio

I don’t know why but it isn’t working. Do I just put the .ogg links in the resource like it says and copy the command frame like the two example songs and call it good? Am I missing a step?

Can someone confirm it’s still working or tell me how to made it work currently? I can’t get it to work and any help would be very appreciated

Hi,
May I ask why it’s not working, even though for the rthk and BBC uk?
Here is my resources lua


resource_manifest_version "44febabe-d386-4d18-afbe-5e627f4af937"

-- Example custom radios
supersede_radio "RADIO_01_CLASS_ROCK" { url = "https://tunein.com/radio/RTHK-Radio-1-926-s14487/", volume = 0.3, name = "香港電台 第一台"  }
supersede_radio "RADIO_02_POP" { url = "https://tunein.com/radio/RTHK-Radio-2-948-s14488/", volume = 0.3, name = "香港電台 第二台"  }
supersede_radio "RADIO_03_HIPHOP_NEW" { url = "https://tunein.com/radio/RTHK-Radio-3-979-s25670/", volume = 0.3, name = "香港電台 第三台"  }
supersede_radio "RADIO_04_PUNK" { url = "https://tunein.com/radio/RTHK-Radio-4-976-s25671/", volume = 0.3, name = "香港電台 第4台"  }
supersede_radio "RADIO_05_TALK_01" { url = "https://tunein.com/radio/BBC-Radio-1-988-s24939/", volume = 0.3, name = "BBC radio 1"  }
supersede_radio "RADIO_06_COUNTRY" { url = "https://tunein.com/radio/Capital-Coventry-962-s45505/", volume = 0.3, name = "Capital Conventry UK"  }
supersede_radio "RADIO_07_DANCE_01" { url = "https://tunein.com/radio/D100-HK-Radio-s189373/", volume = 0.3, name = "D100 大聲台 講真話 行公義 好憐憫"  }
supersede_radio "RADIO_08_MEXICAN" { url = "https://tunein.com/radio/BBC-Radio-1Xtra-s20277/", volume = 0.3, name = "BBC radio 1Xtra Hip Hop"  }




files {
	"index.html"
}

ui_page "index.html"

client_scripts {
	"data.js",
	"client.js"
}


I have this error, can someone help me?

4 Likes

@Hellslicer
May I have a hand on it? Thanks

May I ask why it’s not working, even though for the rthk and BBC uk?
Here is my resources lua


resource_manifest_version "44febabe-d386-4d18-afbe-5e627f4af937"

-- Example custom radios
supersede_radio "RADIO_01_CLASS_ROCK" { url = "https://tunein.com/radio/RTHK-Radio-1-926-s14487/", volume = 0.3, name = "香港電台 第一台"  }
supersede_radio "RADIO_02_POP" { url = "https://tunein.com/radio/RTHK-Radio-2-948-s14488/", volume = 0.3, name = "香港電台 第二台"  }
supersede_radio "RADIO_03_HIPHOP_NEW" { url = "https://tunein.com/radio/RTHK-Radio-3-979-s25670/", volume = 0.3, name = "香港電台 第三台"  }
supersede_radio "RADIO_04_PUNK" { url = "https://tunein.com/radio/RTHK-Radio-4-976-s25671/", volume = 0.3, name = "香港電台 第4台"  }
supersede_radio "RADIO_05_TALK_01" { url = "https://tunein.com/radio/BBC-Radio-1-988-s24939/", volume = 0.3, name = "BBC radio 1"  }
supersede_radio "RADIO_06_COUNTRY" { url = "https://tunein.com/radio/Capital-Coventry-962-s45505/", volume = 0.3, name = "Capital Conventry UK"  }
supersede_radio "RADIO_07_DANCE_01" { url = "https://tunein.com/radio/D100-HK-Radio-s189373/", volume = 0.3, name = "D100 大聲台 講真話 行公義 好憐憫"  }
supersede_radio "RADIO_08_MEXICAN" { url = "https://tunein.com/radio/BBC-Radio-1Xtra-s20277/", volume = 0.3, name = "BBC radio 1Xtra Hip Hop"  }




files {
	"index.html"
}

ui_page "index.html"

client_scripts {
	"data.js",
	"client.js"
}

Hey there!

Just for anyone wondering just like I was 20min ago.

for the colored icons you can use [Release] Colored Hud ( Weapons / Radio / blips )

Any radio url works fine as long as it opens in chrome like this

If some don’t work I’m sorry…

It’s because you are supposed to have a direct stream to the file not the url to the website…

like this: http://s1.radioparty.pl:8000/stream64aac

Hi,
Thanks for replying, right now I am between understanding and not understanding, I understand what you mean but may I ask if I wish to get the direct link to stream the online radio, how can I fine the direct link? Thanks.

It’s kinda easy/hard depending on the radio…
For example I shearched on Google “BBC radio 1 url”(because its the last one on your links)

I found this website “suppertime” (the first link) here there are multiple radios links almost all the BBC (UK) links.
One of them is “BBC Radio 1Xtra”.

I got it, thanks bro.

1 Like

did you figure out how to remove artist and song name?

did you figure out how to remove artist and song name??

penso proprio di no haha

Is this radio working now? I don’t even have anything to reproduce

haha your exact example helped me find the danish url’s thanks m8 :smiley:

would you be kind enough to share with me?,i 'm looking for .ogg radio and must be driving myself insane. Thank you in advance

Send me a dm, thanks!

Is there a way to change the name of the song playing in the Radio-Wheel?

please help me to add this live radio :frowning: https://www.nogoumfm.net/live-radio-stream/

ineed to add live radio how ido this ?