Koenvh1 / ets2-local-radio

Radio from wherever you are in ETS2/ATS
https://koenvh.nl/projects/ets2-local-radio
Mozilla Public License 2.0
234 stars 40 forks source link

Help running stations locally. #169

Open Hyperfire opened 2 years ago

Hyperfire commented 2 years ago

So I followed the steps in the readme.md, copied the web folder's contents to the web folder in install dir. dont know what to do in config.js or custom.js.

Including a "tutorial" in the readme would be awesome for future users.

Koenvh1 commented 2 years ago

The main idea behind running it locally is that, should at some point the development of Local Radio stop, and you find the source in some tarball on some obscure website, that you can still run it without relying on localradio.koenvh.nl to still be running. It's not meant as something that is useful for most people, as you'd need to update it incredibly often (see the frequency of station updates).

Still, if I am not mistaken, the only changes required in config.js are on line 19, 22, 23, 25, and 26 - namely removing the http://localradio.koenvh.nl/ part (or replacing it with your own URL if you host it yourself). In custom.js you can set the config as well using g_skinConfig["url-prefix"] = "http://example.org/".

sie1984 commented 2 years ago

Where is the best place to find the radio stations to add my own most websites most im trying wont work. Do they need to be in mp3 format?

schnudeldudel commented 1 year ago

Where is the best place to find the radio stations to add my own most websites most im trying wont work. Do they need to be in mp3 format?

try fmstream.org to get URLs for your favorite streams.