[Release] [JS] Radio

I Got The Panel working how do i put it in game

i have an ogg fileStream, can any directly put the link to the url?
any one know how to host a single ogg file ?

Edit :
i tryed to host the file in : http://wootests.azurewebsites.net/wp-content/uploads/2017/11/10101.ogg
it’s not working for me on the web browser any simple way to host an ogg file ?
thank you for the release @Hellslicer !!

1 Like

@Disquse Fixed with the latest FiveM build. :ok_hand:

Ahhh… too late, I’m already using my version where I rewrited your resource to LUA :slight_smile:

1 Like

Don’t sure that Russian is relevant here, but I’ll answer. Nope, why did you think so? Hellsclicer just mentioned me to inform that bug was fixed, I answered that good, but I already fixed it myself. Also if rewriting easy 100 lines script is “cool” for you, it’s not my problem, dude :slight_smile:

Hi :slight_smile: First of all thanks you a looottt ! I was waiting this so much :stuck_out_tongue:

I have created my own radio host on my server : http://game.blackrec.fr:8000/stream.ogg evrythings work well, the music change and loop but in game when i change my radio station to ear it on other station its like if the music that i was listening on the previous station restart from 0. And when an other music start on internet on the game its always the first song you have listen who will play :confused:
And i have try on all the radio and some radio does not work and show this error

For the one who look how to make a radio like mine i use winamp :slight_smile: easy to configure in windows.

Greetings,

Having this resource enabled seems to cause lots of trouble on my side, also sometimes the radio works fine, sometimes it cuts and none of the radios are working even the original ones.

Do you guys have any idea from where it comes ?

@Disquse may it be possible to see your lua version in order to test differencies ?

Thank you in advance.

Will send you in PM, np

haha this has never been sooo fun in my server :smiley:

Would it be possible you could help me out for 2 seconds, since my live radio won’t work provably

Hey you think it’s possible to use that for broadcast song in a bar ? like a Dj ?

What’s the problem ? Btw I updated the resource, maybe you can check if the new version fixes your problem.

@Alphakush You should take a look at Esx_dj

@Quentin_Roux It should be fixed with the latest version.

1 Like

Im gonna try it :wink: thx you a lot !

so let’s say i want to stream an audiofile from the same folde, shouldn’t i just change the url to src`?

the script has a issue where it fails to lode in and wont let people join the server

they are some screen shots of the files and issues if you need more just ask

Hey man! love the work you have done, got a few requests id like to make, First one would be (if possible) better stream recovery, when the stream drops, it looses connection and i have to restart the plugin to get it to work again,
Second feature would be to cast the music outside just the vehicle, for example when you are close to it. You can hear it, just like in stock gta radios

2 Likes

yes! took the words outta my mouth

1 Like

does not work on my server… im getting the following error when i select the replaced radio:
nui://radio/index.html:79, Uncaught TypeError: Cannot read property ‘stations’ of undefined

any idea?
tried different radio stations
and i also tried theo original script without changing anything

would be so nice if it would work =(

It works im currently using it as we speak. Maybe the stream ur using isnt available. This is buggy and sometimes when the stream crashes it will not autostart until you restart the script.