Project

General

Profile

Streaming radio

Added by John Jason Jordan over 10 years ago

I have installed Audacity 3.4 from the repositories on Xubuntu 13.10.

I cannot figure out how to play a radio station. For example, I want to stream:

http://allclassical-ice.streamguys.com/ac96k.m3u

I use File > Add URL and enter the above URL, and when I click on Add it executes properly, but the station appears in no menus. If I use File > Open URL and enter the URL, when I click on Open, nothing happens.

What am I doing wrong?


Replies (2)

RE: Streaming radio - Added by Michael Schwendt over 10 years ago

Whenever you run into such a problem, run "audacious -V" in a terminal and try to reproduce. The debug output can be helpful.

Audacious here apparently doesn't manage to download anything (size = -1):

pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib64/audacious/Container/m3u.so.
VFS: <0xa47ba0> open (mode r) http://allclassical-ice.streamguys.com/ac96k.m3u
VFS: <0xa47ba0> size = -1
VFS: <0xa47ba0> close
playlist-files.c:62 [playlist_load]: Loading playlist http://allclassical-ice.streamguys.com/ac96k.m3u.
VFS: <0xa47d00> open (mode r) http://allclassical-ice.streamguys.com/ac96k.m3u
VFS: <0xa47d00> size = -1
VFS: <0xa47d00> close
main.c:504 [shut_down]: Saving playlist state.

wget is rejected, too:

$ wget http://allclassical-ice.streamguys.com/ac96k.m3u
--2014-05-22 11:22:14-- http://allclassical-ice.streamguys.com/ac96k.m3u
Resolving allclassical-ice.streamguys.com (allclassical-ice.streamguys.com)... 50.31.192.100
Connecting to allclassical-ice.streamguys.com (allclassical-ice.streamguys.com)|50.31.192.100|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2014-05-22 11:22:15 ERROR 400: Bad Request.

But curl works:

$ curl http://allclassical-ice.streamguys.com/ac96k.m3u
http://50.31.192.100:80/ac96k

RE: Streaming radio - Added by John Lindgren over 10 years ago

wget works here:

$ wget http://allclassical-ice.streamguys.com/ac96k.m3u
--2014-05-22 18:16:33--  http://allclassical-ice.streamguys.com/ac96k.m3u
Resolving allclassical-ice.streamguys.com (allclassical-ice.streamguys.com)... 50.31.192.100
Connecting to allclassical-ice.streamguys.com (allclassical-ice.streamguys.com)|50.31.192.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [audio/x-mpegurl]

However, the "Length: unspecified" is going to be a problem for Audacious 3.4.x. Either save the M3U file locally and then open it with Audacious, or update to 3.5.

    (1-2/2)