User Tools

Site Tools


listen_to_anonradio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
listen_to_anonradio [2023/06/30 23:47] – [On Linux or BSD] hc9listen_to_anonradio [2023/06/30 23:47] (current) – [On Linux or BSD] hc9
Line 1: Line 1:
 +====== ANONRADIO ======
 +
 +<file config /streaming radio>
 +                                 ((( o )))
 +                                     |
 +                                     |
 +                                     |
 +                                 ---===---
 +                                 ANONRADIO
 +</file>
 +
 +//ANONRADIO// (formerly SDF Radio) is a streaming "internet radio station".
 +
 +To see the program schedule, visit http://anonradio.net
 +
 +===== To Listen to ANONRADIO =====
 +
 +The easiest way to start listening is to visit http://anonradio.net/listen in your web browser, and launch the web player.
 +
 +Alternatively, you can use your favorite media player to open the live stream at ''http://anonradio.net:8000/anonradio''
 +
 +Don't know how to do that? Fear not! Below are instructions for how to do that with some popular media players.
 +
 +==== On Windows ====
 +
 +**VLC media player** (http://videolan.org)
 +
 +  - File -> Open Network
 +  - enter: ''http://anonradio.net:8000/anonradio''
 +
 +To get around occasional drops in the stream which may occur when DJs/programs are changing, select Playback -> Repeat One.
 +
 +==== On MacOSX ====
 +
 +  * Click on the M3U play icon on http://anonradio.net, or use http://anonradio.net:8000/anonradio.m3u
 +
 +==== On Linux or BSD ====
 +
 +**VLC media player** (http://videolan.org)
 +
 +Using the GUI:
 +
 +  - Go to Media -> Open Network Stream
 +  - Enter the address ''http://anonradio.net:8000/anonradio'' and press the **Play** button
 +
 +Using the ncurses interface ("nvlc"):
 +
 +  - Press ''P'' to show the playlist screen.
 +  - Press ''A'' to add an item to the playlist
 +  - Enter ''http://anonradio.net:8000/anonradio'' in the "Open:" field and press ''Enter''
 +
 +Or, if you start VLC from the command line, you can specify the stream to open:
 +
 +  $ vlc "http://anonradio.net:8000/anonradio"
 +
 +**mplayer** (https://www.mplayerhq.hu)
 +
 +At your shell, type:
 +
 +  $ mplayer http://anonradio.net:8000/anonradio
 +
 +**mpv** (http://mpv.io)
 +
 +This one's a little different — wait, no it's not. At your shell, type:
 +
 +  $ mpv "http://anonradio.net:8000/anonradio"
 +
 +**ncmpcpp** (http://rybczak.net/ncmpcpp/)
 +
 +  - In ''ncmpcp'', press ''2'' to access playlists
 +  - Press ''a'' to add a station.
 +  - Add ''http://anonradio.net:8000/anonradio'' and press ''enter''.
 +
 +**SoX** (http://sox.sourceforge.net)
 +
 +At the shell:
 +
 +  $ play -t mp3 http://anonradio.net:8000/anonradio.m3u
 +
 +note: the ''play'' command is part of the ''SoX'' program.
 +
 +To make it more useful for ANONRADIO use, it's helpful to put it into a shell script like so:
 +
 +<file config /shell script>
 +#!/bin/sh -e
 +#  anonradio - streams SDF ANONradio via sox(1);
 +#  retries automatically if stream dropped
 +if [ -x $(which sox) ]; then
 +  trap 'printf "\n anonradio stream terminated... \n" && exit 0' 2
 +  clear
 +  while [ 1 ]
 +    do clear
 +    printf "\nSDF ANONradio - http://anonradio.net - ^C to cancel\n"
 +    sox -V0 -t mp3 http://anonradio.net:8000/anonradio.m3u -d
 +    sleep 5
 +  done
 +else
 +  echo 'sox(1) not found or not executable - exiting...'
 +  exit 1
 +fi
 +exit 0
 +
 +</file>
 +
 +The above script will automatically reconnect to the anonradio stream if it gets dropped due to a DJ change or network abberation. Stream is terminated using the ''CNTL+C'' keys. See the ''sox(1)'' [[finding_help|manpage]] for the full list of options.
 +
 +----
 +
 +[[http://sdf.org/?tutorials/anonradio|ANONRADIO]] - traditional link (using [[wp>Revision_Control_System|RCS]])