Support for online radio streaming

Moderator: GZDoom Developers

Mr.Tambo

Support for online radio streaming

Post by Mr.Tambo »

There seems to be a considerable amount of online radio stations streaming 24/7, steadily growing in number and variety, which does not necessarily mean they're any good, but I'm definitely digging a couple.

What I'd like to suggest is at least some limited support for these radio stations.

E.g. http://69.175.20.66:8400 which's a classic country radio station. Basically you open this address using a media player and it starts streaming, simple as that.

The stream is a mere mp3, but I ignore to what degree you need a complete media player solution to get it working, which's of course, not within the scope of a Doom source port. This simulator called "Second Life" manages that quite seamlessly, so the concept has been around for quite some time.

If by any chance this can be done without putting any serious effort into it, I'd be happy to see it there some day. If not, no big deal whatsoever. I can always leave my media player running the background.

Regards.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Support for online radio streaming

Post by Gez »

Last time I looked into ZDoom's sound system (which was quite recently actually), I saw functions to handle opening URLs for songs, so I'd hazard the guess that this may already be in.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49237
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Support for online radio streaming

Post by Graf Zahl »

I'm not sure if that code can handle radio streams. Regardless, they are a lot more complicated to handle than it may seem. I have been working on a radio streaming app professionally and there's a lot of pitfalls to consider to get it right.

I'm also not sure that this is useful. If you want radio streaming in the background, just open a radio player and put it in the background. Same effect, far less fuss.
User avatar
StrikerMan780
Posts: 486
Joined: Tue Nov 29, 2005 2:15 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Support for online radio streaming

Post by StrikerMan780 »

I could see something like this being more useful for an online port such as Skulltag. Having seen what has been done with such a feature through Source Engine servers with Source Radio, I feel like this could add a whole new dimension to online interactions.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Support for online radio streaming

Post by Ceeb »

It would be a lot more interesting (and practical) to have voice chat rather than radio streaming.
User avatar
Salad Viking
Posts: 752
Joined: Tue Apr 20, 2010 8:58 pm
Location: In high orbit

Re: Support for online radio streaming

Post by Salad Viking »

The thread title alone screams insta-no material. Is it too hard just to open your internet radio player and leave it in the background? This sounds about as practical a feature as using iTunes in ZDoom (which would be pretty cool, however).
Ceeb wrote:It would be a lot more interesting (and practical) to have voice chat rather than radio streaming.
Amen.
User avatar
Jimmy
 
 
Posts: 4728
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: Support for online radio streaming

Post by Jimmy »

Winamp does radio streaming fine - just have that in the background. That way it won't stop when you close ZDoom. :P
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Support for online radio streaming

Post by randi »

You really ought to try it before you suggest it. Streaming Internet radio is supported by FMOD Ex, so it's already in. And if you want it to keep playing when you switch levels, you just need to wrap it inside a playlist.
User avatar
StrikerMan780
Posts: 486
Joined: Tue Nov 29, 2005 2:15 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Support for online radio streaming

Post by StrikerMan780 »

So, Randy, I'm guessing this works with shoutcast? If so, could you explain how I play it back? I'm having difficulties here, and am not sure what to do.

EDIT: Ok, I found out that it does work, but only if I load listen.pls from my Shoutcast via the playlist command. Could you perhaps add support for putting the .PLS file in our WADs/PK3s as a music lump, and load it as we would any other kind of music lump?(Via Changemus, ACS, or otherwise) Or if there is a way already, could you explain how?
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: Support for online radio streaming

Post by Apothem »

:surprise:
YOU CAN DO THAT?!

It'd be nice to have a proper explanation as to how. I'd love to do it some time with a mod of my own XD
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Support for online radio streaming

Post by Xaser »

I can't say I much like the idea of having a mod rely on streaming radio for music, though. I wouldn't use it, for one.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Support for online radio streaming

Post by Project Shadowcat »

Xaser wrote:I can't say I much like the idea of having a mod rely on streaming radio for music, though. I wouldn't use it, for one.
Dial-up concerns, right? One only has so much bandwidth.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Support for online radio streaming

Post by Gez »

There's also the question of whether said online radio station will be still there sixteen years later.
User avatar
Chris
Posts: 2978
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: Support for online radio streaming

Post by Chris »

Also, some people have a limit to the amount of bandwidth they can use per month. Using up some of that bandwidth by playing a single-player mod wouldn't be very nice. I could actually see that as being a reason for having the feature removed.. or at least, not directly accessible to mods.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Support for online radio streaming

Post by Xaser »

Project Dark Fox wrote:Dial-up concerns, right? One only has so much bandwidth.
Paranoia caused by past dialup connections, mostly. That and I don't care for radio in general because I'm a control freak about my "Now Playing" status.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”