Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Behaviour with BBC radio stream pls URLs (Read 4390 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Behaviour with BBC radio stream pls URLs

Hi all.

I'm not very familiar with foobar2000 and I'm trying to understand how to get round the following problem:

I want to listen to BBC radio 3 using the following URL:

http://www.bbc.co.uk/radio/listen/live/r3_heaacv2.pls

When I add this to foobar2000, 2 entries appear (rather than the 1 that I would expect) and I can hear the radio station. However, if I stop listening, wait an hour and then try again to listen to either of the 2 entries, I get the following error message:

Unable to open item for playback (Forbidden (403)):
"http://bbcmedia.ic.llnwd.net/stream/bbcmedia_he2_radio3_q?s=1391163777&e=1391178177&h=71384955a185a0d1fd0062fd4edafeed"

In order to listen to the radio station again, I need to re-add the network URL. I have also tried listening to that URL using 2 alternative radio players (LightRadio from http://www.crownsoft.net/lightradio.htm and Xion Audio Player from http://www.xionplayer.com/) but only foobar2000 exhibits this behaviour. I presume that foobar2000 is in some way dereferencing the original URL and storing its contents rather than storing the URL itself, but I'm not sure.

Is there an easy way for me to stop this from happening?

Thank you for your help, Jaime

 

Behaviour with BBC radio stream pls URLs

Reply #1
the links in the .pls files expire after a certain time.

Quote
ht tp://bbcmedia.ic.llnwd.net/stream/bbcmedia_he2_radio3_q?s=1391163777&e=1391178177&h=71384955a185a0d1fd0062fd4edafeed


those s & e pararmeters (presumably for start and end) are unix timestamps. using an online converter, i can see they're from friday morning/afternoon. all you can do with foobar is use the file>add location dialog. this will remember previous entries so you can just select the full url again.

Behaviour with BBC radio stream pls URLs

Reply #2
Try add location: http://bbc.co.uk/radio/listen/live/r3.asx. It may give multiple entries in the playlist and seemed to work fine after deleting all bar one. There are other BBC radio links here for example.

Behaviour with BBC radio stream pls URLs

Reply #3
I've just hit this issue and my work around is to load the pls files every time I start fooobar. To do this I use the following batch file ( command script).

The only snag is that it does create two entries for each station. I considered using Powershell to capture and edit the pls content before launching FB but decided that was too complex to be worthwhile.


Cut and paste the following into a file with the .bat extension if you want to try it.
REM  -----------------------------------------------------------------------------------------
set J1="http://icy1.abacast.com/kplu-jazz24mp3-32"
set J2="http://dir.xiph.org/listen/5878/listen.m3u"
set R2="http://www.bbc.co.uk/radio/listen/live/r2_aaclca.pls"
set R3="http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls"
set R4="http://www.bbc.co.uk/radio/listen/live/r4_aaclca.pls"
set R4x="http://www.bbc.co.uk/radio/listen/live/r4x_aaclca.pls"
set R6="http://www.bbc.co.uk/radio/listen/live/r6_aaclca.pls"
"C:\Program Files (x86)\foobar2000\foobar2000.exe" %J1% %J2% %R2% %R3% %R4% %R4x% %R6%
REM -----------------------------------------------------------------------------------------

Regards Roadster

Behaviour with BBC radio stream pls URLs

Reply #4
I've just hit this issue and my work around is to load the pls files every time I start fooobar. To do this I use the following batch file ( command script).

The only snag is that it does create two entries for each station. I considered using Powershell to capture and edit the pls content before launching FB but decided that was too complex to be worthwhile.


Cut and paste the following into a file with the .bat extension if you want to try it.
REM  -----------------------------------------------------------------------------------------
set J1="http://icy1.abacast.com/kplu-jazz24mp3-32"
set J2="http://dir.xiph.org/listen/5878/listen.m3u"
set R2="http://www.bbc.co.uk/radio/listen/live/r2_aaclca.pls"
set R3="http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls"
set R4="http://www.bbc.co.uk/radio/listen/live/r4_aaclca.pls"
set R4x="http://www.bbc.co.uk/radio/listen/live/r4x_aaclca.pls"
set R6="http://www.bbc.co.uk/radio/listen/live/r6_aaclca.pls"
"C:\Program Files (x86)\foobar2000\foobar2000.exe" %J1% %J2% %R2% %R3% %R4% %R4x% %R6%
REM -----------------------------------------------------------------------------------------

Regards Roadster


I've refined this a bit so I will add a new post with more details.

Re: Behaviour with BBC radio stream pls URLs

Reply #5
I want to listen to (...) radio (...) When I add this to foobar2000, 2 entries appear (rather than the 1 that I would expect)

I'd also like to use this .pls files that happen to have 2 entries like the following example:

Code: [Select]
[playlist]
NumberOfEntries=2
File1=http://prem1.di.fm:80/chillntropicalhouse_hi?my_key
Title1=Digitally Imported - Chill & Tropical House
Length1=-1
File2=http://prem4.di.fm:80/chillntropicalhouse_hi?my_key
Title2=Digitally Imported - Chill & Tropical House
Length2=-1
Version=2

But I'd also would expect one entry in the playlist. As you can see, these 2 entries are the very same strem except one uses one server and the other one uses another. I know the idea is to play a random server, but if 2 entries are added, I can't accomplish this. How can I do it? Thanks.