Created
October 23, 2012 15:16
-
-
Save pwenzel/3939350 to your computer and use it in GitHub Desktop.
Internet Radio Streams Via Command Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Install mplayer command line (via Brew, Macports, or APT) | |
# 2. Add the following aliases to ~/.profile | |
# 3. Type `source ~/.profile` | |
# 3. Type `news` or `current` to listen in your terminal | |
alias news="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/news.pls" # MPR News | |
alias current="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/the_current.pls" # The Current | |
alias classical="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/classical.pls" # Classical MPR | |
alias localcurrent="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/local.pls" # Local Current | |
alias heartland="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/radio_heartland.pls" # MPR Radio Heartland | |
alias wonderground="mplayer http://wondergroundstream2.publicradio.org/wonderground" # MPR Wonderground Windows Media | |
alias choral="mplayer -playlist http://choralstream1.publicradio.org/choral.m3u" # Clasical MPR Choral | |
alias wefunk="mplayer -playlist http://www.wefunkradio.com/play/shoutcast.pls" # WEFUNK Radio MP3 64K | |
alias sleepbot="mplayer -playlist http://sleepbot.com/ambience/cgi/listen.cgi/listen.pls" # Sleepbot Environmental Broadcast 56K MP3 | |
alias groovesalad="mplayer -playlist http://somafm.com/groovesalad130.pls" # Soma FM Groove Salad iTunes AAC 128K | |
alias dronezone="mplayer -playlist http://somafm.com/dronezone130.pls" # Soma FM Drone Zone iTunes AAC 128K | |
alias lush="mplayer -playlist http://somafm.com/lush130.pls" # Soma FM Lush iTunes AAC 128K | |
alias sonicuniverse="mplayer -playlist http://somafm.com/sonicuniverse.pls" # Soma FM Sonic Universe iTunes AAC 128K |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got url-s from the HTML source one of this Countries:
http://www.listenlive.eu/
it is easy to plyay all and step with a "Q" forward between the streamed-stations:
After I cleanded all nont neccesary data from the source html-file i found out, that not all of these urls are still active.
They went to 404 Error.
From a reason I changed the end of files with mp3. # it was a better result with omxplayer and mplayer on raspberry pi 3b
Here is a part from the cleaned file
http://www.listenlive.eu/streams/germany/de_wdr3_256.mp3
http://www.listenlive.eu/streams/germany/de_wdr4_128.mp3
http://www.listenlive.eu/streams/germany/de_wdr5_128.mp3
http://www.listenlive.eu/streams/germany/de_wdrevent_128.mp3
http://www.listenlive.eu/streams/germany/de_wdrkiraka_128.mp3
http://www.listenlive.eu/streams/germany/de_wdrcosmo_128.mp3
http://edge.live.mp3.mdn.newmedia.nacamar.net/ps-wellenr/livestream.mp3
result:
Server returned 404: Not Found
No stream found to handle url http://www.listenlive.eu/streams/germany/de_wdr3_256.mp3
Server returned 404: Not Found
No stream found to handle url http://www.listenlive.eu/streams/germany/de_wdr4_128.mp3
Server returned 404: Not Found
No stream found to handle url http://www.listenlive.eu/streams/germany/de_wdr5_128.mp3
Server returned 404: Not Found
No stream found to handle url http://www.listenlive.eu/streams/germany/de_wdrevent_128.mp3
Server returned 404: Not Found
No stream found to handle url http://www.listenlive.eu/streams/germany/de_wdrkiraka_128.mp3
Server returned 404: Not Found
No stream found to handle url http://www.listenlive.eu/streams/germany/de_wdrcosmo_128.mp3