Garry's Mod

Garry's Mod

3D Stream Radio
 此主题已被置顶,因此可能具有重要性
Grocel  [开发者] 2020 年 7 月 30 日 上午 10:12
[Help] Ways of getting stream URLs for the radio
I found these third party videos that may help you getting some proper URLs for the radio. They are made for the Euro Truck Simulator 2 ingame radio, but they work with this addon aswell. These will show you how to extract streams from various webpages. Not every webpage works the same, but they should be quit similar. You might need to adjust a bit.

https://www.youtube.com/watch?v=nKWdXDtIpmo
https://www.youtube.com/watch?v=J3Es00azAT4

If you want to extract the URL of your favourite station's webpage these methods will most likely work. I will not do individual support of your case if it doesn't work. So please don't ask how to extract URLs from your favourite webpages. You can however post and discuss your favorite stations here. You can also post your own way of URL extracting.

Other good sources of radio streams are:
https://directory.shoutcast.com/ (SHOUTcast)
http://dir.xiph.org/ (Icecast)
https://streamurl.link/ (Stream URL search engine)

Use the extract methods mentioned above if necessary.
最后由 Grocel 编辑于; 2023 年 7 月 11 日 上午 7:52
< >
正在显示第 1 - 8 条,共 8 条留言
Grocel  [开发者] 2021 年 10 月 10 日 上午 7:48 
The recent update improved support for Dropbox URLs, so you don't have to mess with those parameters (?dl=1) anymore. I can recommend to use Dropbox for online files for now.

Remember through, URLs can still go stale or can break without a way for the radio to fix. The URLs to the files need to be publicly accessible.
最后由 Grocel 编辑于; 2021 年 10 月 10 日 上午 7:49
Engi Man 2022 年 6 月 29 日 上午 9:14 
darn
𖥂 SYS//: TLC 𖥂 2022 年 9 月 16 日 下午 7:54 
any way to take a youtube url, convert it and somehow get a way for it too work? ( Obviously not on the yt website, like take the mp3 file and have it able to play it )
Grocel  [开发者] 2022 年 9 月 16 日 下午 11:53 
Yes and no. It highly depends on the converter service you can use online. Many converter services don't support streaming/hotlinking, which is necessary for the radio to play media from Youtube. Some services explicitly block non-browser (e.g. the GMod binaries) downloads, because that doesn't give them ad revenue.

This addon used to have a automatic converter system, that would convert the song automaticly for you via an API in the background everytime you gave the Radio a Youtube URL. I removed it, because it was unreliable at best and I was annoyed by people crying about stuff not working in the comments and not reading stuff all the time.

Please also read this: https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/246756300/4523281307928803506/
最后由 Grocel 编辑于; 2022 年 9 月 16 日 下午 11:58
𖥂 SYS//: TLC 𖥂 2022 年 9 月 17 日 下午 1:54 
ahhh alrighty
Grocel  [开发者] 2023 年 7 月 11 日 上午 7:55 
Someone posted this link to me. It is quite good.
https://streamurl.link/

It is for radio streams only, though.
Grocel  [开发者] 5 月 22 日 下午 12:53 
@Sanders: The pls file does not contain a URL to play from. Not an issue with the radio.
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50