Derail Valley

Derail Valley

mpsteidle Jul 30, 2023 @ 11:06pm
Streaming Radio via .PLS file
Hey Guys. I've taken a liking to the boombox, and when trying to add some of my favorite stations (Here's an example: https://www.foxcincinnati.com/) I discovered that some of them dont have a direct HTTP link. Instead they use ".PLS" files to support streaming audio.

My solution has been to open the PLS file in VLC media player, then stream it to a local location. From there I can add that local HTTP port as the URL, and its on the radio.

Does anyone have any other solutions that I may be missing?
< >
Showing 1-3 of 3 comments
onebit Jul 31, 2023 @ 8:45am 
Open the PLS in a text editor and it will have the actual links.

It's worth noting that the radio file is a PLS file.

As a bonus, here's a batch file to convert an AAC stream into an OGG stream. The game only supports MP3 and OGG.

:start
ffmpeg -i http://14613.live.streamtheworld.com:3690/XTRAFMAAC_SC -filter:a "volume=5dB" -listen 1 -f ogg http://localhost:3690/radio.ogg
goto start
Last edited by onebit; Jul 31, 2023 @ 8:46am
mpsteidle Jul 31, 2023 @ 4:38pm 
Originally posted by onebit:
Open the PLS in a text editor and it will have the actual links.

It's worth noting that the radio file is a PLS file.

As a bonus, here's a batch file to convert an AAC stream into an OGG stream. The game only supports MP3 and OGG.

:start
ffmpeg -i http://14613.live.streamtheworld.com:3690/XTRAFMAAC_SC -filter:a "volume=5dB" -listen 1 -f ogg http://localhost:3690/radio.ogg
goto start


I understand now. The PLS files i have for each station had links to AAC streams. So I was able to plug in those links to your script and added the local host URL to the radio.PLS and we are good to go. Kinda sucks I have to launch those batch scripts before i launch the game though.

It would be sweet if the game supported AAC streams...
Last edited by mpsteidle; Jul 31, 2023 @ 4:55pm
onebit Jul 31, 2023 @ 8:11pm 
AAC requires a license. I thought MP3 did as well.

edit: Looks like MP3 no longer needs a license.
Last edited by onebit; Jul 31, 2023 @ 8:12pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jul 30, 2023 @ 11:06pm
Posts: 3