[Release] [JS] Radio

I solved the problem , but now , radios are the same,nothing happened.https://i.imgur.com/ogS4RQd.png
EDIT: There are empty , not default.

content-type:audio/mpeg

All streams you use are in MPEG (MP3) format. MP3 and AAC are not supported.

So what should I search for ? What I need to write on google to search for them ?

“Ogg radio” would be a good start …

I will try , hope I won’t get any problems

1 Like

Is there any way I can convert mp3 to OGG ? ( sorry for too many questions, but I really want to make this work )

There are many ways you only need to google :slight_smile:


I dont tested it but there are many websites where you can convert all audioformats to other formats :slight_smile:

Did not succeed in doing it. Still having cuts after 2min. Any help would be appreciated and again thank you for your work and contribution

(waiting for a fix I ve scripted a resource restart by rcon each 2min)

1 Like

I’ve updated the repo with some error handling, let me know if it fixes your problem.

1 Like

Thank you it worked and it’s in production right now thanks to you.
Again what a great job for RP servers thank you, this combine to an AzuraCast container is a real pleasure :wink:

EDIT: but this is not perfect there is still come cuts and sometimes you need to go back to the radio or even get outside the vehicle and then get back in.

1 Like

where do you put the audio file and how to put the link in --resources

For some reason, only when the radio is enabled, it likes to spit out alot of errors, and messes up VRP.

As soon as I disable the radio-script, everything runs smooth and without any interference what so ever.

It’s a known bug with citizen-scripting-v8. It’s not a big deal tho.

Well, when it’s enabled it renders the garage broken, when disabled no problems at all.

1 Like

Hey everyone me and my group have created a custom radio station feel free to use it it plays all types of music EDM, Trap, Hiphop, Dance, Dubstep, and more you can also make requests.

link for adding to server - http://radio.logicalgamer.com:8000/radio.ogg
link for web streaming and requests - http://radio.logicalgamer.com:8080/public/logicalgamercom__worldwide_radio

1 Like

Still having issues and cuts… erf.

@Hawk_bs I tried to fix this by few ways, but the only way which helped me - rewrite this resource to LUA.

@Hellslicer This making some problems. For example, console spam reduces players FPS.

logical how do you streamm your own radio what program?

3 Likes

I’m using http://azuracast.com installed on a cheap vps. It works great!

Will look into it ^^