[Release] [JS] Radio

So how can i replace or even make custom icons for the logos?

Stream a hud.ytd with custom icons edited in Photoshop or similar software

Hello there, I installed the resource but it says couldn’t find resource radio even tough I did everything correctly, does anyone know why this would happen?

does this work on Qb ? i cant seem to get it to work on it

1 Like

hey guys, here’s all the radios up to the tuners dlc!

RADIO NAMES AND CODES:

RADIO_01_CLASS_ROCK // Los Santos Rock Radio

RADIO_02_POP // Non-Stop-Pop FM

RADIO_03_HIPHOP_NEW // Radio Los Santos

RADIO_04_PUNK // Channel X

RADIO_05_TALK_01 // West Coast Talk Radio

RADIO_06_COUNTRY // Rebel Radio

RADIO_07_DANCE_01 // Soulwax FM

RADIO_08_MEXICAN // East Los FM

RADIO_09_HIPHOP_OLD // West Coast Classics

RADIO_11_TALK_02 // Blaine County Radio

RADIO_12_REGGAE // Blue Ark

RADIO_13_JAZZ // Worldwide FM

RADIO_14_DANCE_02 // FlyLo FM

RADIO_15_MOTOWN // The Lowdown 91.1

RADIO_16_SILVERLAKE // Radio Mirror Park

RADIO_17_FUNK // Space 103.2

RADIO_18_90S_ROCK // Vinewood Boulevard Radio

RADIO_19_USER // Self Radio

RADIO_20_THELAB // The Lab

RADIO_21_DLC_XM17 // Blonded Los Santos 97.8 FM

RADIO_22_DLC_BATTLE_MIX1_RADIO // Los Santos Underground Radio

RADIO_23_DLC_BATTLE_MIX2_CLUB

RADIO_24_DLC_BATTLE_MIX3_CLUB

RADIO_25_DLC_BATTLE_MIX4_CLUB

RADIO_26_DLC_BATTLE_CLUB_WARMUP

RADIO_27_DLC_PRHEI4

RADIO_30_DLC_HEI4_MIX1_REVERB

RADIO_31_DLC_HEI4_KM_CLUB

RADIO_32_DLC_HEI4_MM_CLUB

RADIO_33_DLC_HEI4_PT_CLUB

RADIO_34_DLC_HEI4_KULT // KULT FM

RADIO_34_SHORT

RADIO_35_DLC_HEI4_MLR // MUSIC LOCKER

RADIO_35_SHORT

RADIO_36_AUDIOPLAYER // MEDIA PLAYER

RADIO_36_SHORT

RADIO_NA_PP

RADIO_OFF // RADIO OFF

RADIO_ON // RADIO ON

RADIO_ON_ID

RADIO_REQ_BEAT

RADIO_REQ_BROKER

RADIO_REQ_CLASSICS

RADIO_REQ_FRANCOIS

RADIO_REQ_FUSION

RADIO_REQ_JNR

RADIO_REQ_JOURNEY

RADIO_REQ_K109

RADIO_REQ_LCHC

RADIO_REQ_LRR

RADIO_REQ_MASSIVEB

RADIO_REQ_PLR

RADIO_REQ_SANJUAN

RADIO_REQ_VIBE

RADIO_REQ_VLADIVOSTOK

RADIO_REQ_WKTT

RADIO_STATION

RADIO_TRACK_CAT_DJSOLO

I don’t exactly know what all of them are just yet but if I find out, I’ll update this post

1 Like

Hello! I can’t change the volume of the stations. Does anyone have any solutions? Thanks! Sorry for my bad English haha

[    c-resources-core] Resource loading for fivem-radio-master failed:
[    c-resources-core] Could not open resource metadata file - no such file.

any help regarding that?

I feel like the 1 million person who has said this but where do i locate the hud.ytd file so i can change the images of the radio stations?

simply create a stream folder and put it in

I sorted it but thanks :slight_smile:

Can I add something that either the current track is displayed or nothing, so not that the GTA track is there.

I’ve looked through this entire thread, I have seen a couple others ask this and one guy even shared some code he tried to get functional but no one seems to have solved it yet, so I’d like to basically bump this thread to ask myself:

Does anyone know how we can make it so that the track position is saved upon exiting the vehicle or changing the station, because for the people who are streaming local files rather than playing internet streams, every time we get out of the car or change the station, when we come back, it starts the audio file back at the beginning which sucks because unless you’re sitting in your car listening to one station the whole time it means you only ever hear the first few songs, over and over again…

Any help would be greatly appreciated, thanks!!!

2 Likes

For those having trouble getting it working, I can tell you I have tried ogg, mp4, m4a and mp3 and the only format that has worked for me is mp3.

Place the mp3 file(s) in the same folder as __resource.lua

The only thing you should ever need to edit is the __resource.lua, here is what mine looks like for an example, I hope it helps somebody:

resource_manifest_version “44febabe-d386-4d18-afbe-5e627f4af937”

supersede_radio “RADIO_18_90S_ROCK” { url = “1.mp3”, volume = 0.2, name = “RADIO_18_NEW_ROCK” }

files {
“1.mp3”,
“index.html”
}

ui_page “index.html”

client_scripts {
“data.js”,
“client.js”
}

mine isnt playing the music.

__resource.lua

resource_manifest_version “44febabe-d386-4d18-afbe-5e627f4af937”

– Example custom radios

supersede_radio “RADIO_02_POP” { url = “idfc - blackbear slowed down tiktok (Lyrics) | I'm only a fool for you [TikTok Remix] - YouTube”, volume = 0.2 }

files {

"index.html"

}

ui_page “index.html”

client_scripts {

"data.js",

"client.js"

}

All of that is old… Use fxmanifest.lua, not __resource.lua.

https://docs.fivem.net/docs/scripting-reference/resource-manifest/resource-manifest/

I did this but the outcome is the same.

Very cool

EDIT: Dropbox works.

But where i can find ogg based stream radio stations to add on my server?

I’ve googled and had no success.

hey, is this synced between players? thanks

Yes it is

1 Like