WhichStation Was:Re: command line streaming URL scraping tool

Rudy Vener salt at panix.com
Mon Jul 5 15:31:55 UTC 2010


Thanks for the URL list.

I notikce that even when I do get a working streaming URL, its
lifetime can be fairly short. Some of them may work for only a 
few weeks and then stop. 

I think they are trying to prevent people from recording their 
content rather than deliberately preventing blind people from listening.
On Mon, Jul 05, 2010 at 07:34:50AM -0400, Jude DaShiell wrote:
> Okay, here's the info about liquidcompass.  It has switched over to  
> silverlight yet another Microsoft screw up (sorry I meant to write  
> innovation).On Thu, 10 Jun 2010, Rudy Vener wrote:
>
>> One of the better lists was at
>> http://www.usliveradio.com
>>
>> Unfortunately the straming link for wabc radio no longer works with my mplayer.
>>
>> Rudy
>>
>> On Thu, Jun 10, 2010 at 11:26:42AM +0200, Labrador wrote:
>>> Hi Rudy, Brent and radiostreaming lovers,
>>>
>>> in attachment the promissed whichstation-script, together with the
>>> whichstation.lst it currently uses.
>>>
>>> I'm working on it to update the .lst file due to some missing urls / broken
>>> urls.
>>> It's difficult to maintain it, I'm not sure to be able to maintain it at
>>> a long term: server addresses are changing at regular times and not all
>>> streaming urls are located at one and only mega-giga radiostation list.
>>>
>>> Rudy, feel free to inspire on whichstation to create your own personalized
>>> streaming-tool.
>>>
>>> Note:
>>> - ACBRadio is already present on my list, but not WABCRadio,
>>> - to use the script, cp both the whichs* files to /usr/local/bin,
>>> make whichstation executable, install mplayer, and
>>> type: whichstation <ENTER> or: whichstation <number 1-36> <ENTER> ... wait
>>> and enjoy!
>>> - pressing ENTER or CTRL+C stops streaming and goes back to the preset menu.
>>>
>>> Labrador.
>>>
>>>
>>> (attachment)
>>>
>>>
>>>
>>> On Sun, Jun 06, 2010 at 03:43:50PM -0500, Brent Harding wrote:
>>>> Oh, I know of ones you just can't capture, they're those new liquid
>>>> compass ones or something, the higher 64k instead of 32. I could never
>>>> find a valid url to use with those and the default volume is very low.
>>>> Even with a windows tool designed to sniff the packet and get the URL, it
>>>> didn't work.
>>>>
>>>> ----- Original Message ----- From: "Labrador" <labrad0r at edpnet.be>
>>>> To: "Linux for blind general discussion" <blinux-list at redhat.com>
>>>> Sent: Sunday, June 06, 2010 6:50 AM
>>>> Subject: Re: command line streaming URL scraping tool
>>>>
>>>>
>>>>> Hi Rudy:
>>>>>
>>>>> On Sat, Jun 05, 2010 at 05:52:30PM -0400, Rudy Vener wrote:
>>>>>>
>>>>>> I'm trying to locate a tool which when given a web page with a
>>>>>> "Listen Live"
>>>>>> link, can return the actual URL of  an audio stream which can be handed
>>>>>> off to mplayer.
>>>>>>
>>>>>> My problem as you will doubtless surmise, is finding the actual
>>>>>> URLs  of audio streams.
>>>>>>
>>>>>> Ideally I'd like a tool which I can use like this:
>>>>>> $ get_audio_url http://www.wabcradio.com > url.txt
>>>>>> or
>>>>>> $ mplayer `get_audio_url http://www.wabcradio.com`
>>>>>>
>>>>>>
>>>>>>
>>>>>> Does anyone know if such a beastie exists?
>>>>>
>>>>> I have myself published a script called whichstation; I made this for
>>>>> BE FR
>>>>> and NL + some other stations.
>>>>> The problem I encounter is to get an updated list of updated
>>>>> streaming-urls:
>>>>> Google is my friend in that case,
>>>>> and more and more radio stations does use a .php url + a javascript-alike
>>>>> app that starts a .swf player, which does contain a real m3u or mp3 of asf
>>>>> or asx location.
>>>>> I am not sure to be able to continue maintaining my script, but it was
>>>>> designed to be
>>>>> a) blindfriendly
>>>>> b) and using mplayer on the commandline.
>>>>>
>>>>> There isn't any url online where to go for having the latest upgraded
>>>>> streaming urls for all radios in the world;
>>>>> I totally missed how does shoutcast and icecast sites does maintain those
>>>>> lists, but I'm not full professionally busy with radio streamings, so
>>>>> can't
>>>>> do anymore for now.
>>>>>
>>>>> I propose to send you a package of whichstation at the end of the week,
>>>>> once
>>>>> I've tried to fix some broken urls in the whichstation.lst;
>>>>> maybe this can inspire for similar projects, even if ooutside Europe.
>>>>>
>>>>> Labrador
>>>>>
>>>>> _______________________________________________
>>>>> Blinux-list mailing list
>>>>> Blinux-list at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>>>
>>>>
>>>> _______________________________________________
>>>> Blinux-list mailing list
>>>> Blinux-list at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>
>>>
>>> #!/bin/bash
>>> #
>>> # WhichStation-NG - The ultimate easy radio station streaming script
>>> # 		    N)ew G)eneration Edition
>>> #
>>> # O. La Rosa - http://whichstation.blinuxman.net - 19-06-2004 - Public
>>> # Latest release: 27-10-2009
>>> # Based on a script found here: news:be.comp.os.linux
>>> # Feel free to visit http://blinuxman.net providing us with new urls
>>> # (see online form to contact us).
>>> #
>>>
>>> # Variables:
>>> #
>>>  P[1]="  1 ACBRadio	en_us			"
>>>  P[2]="  2 BeOne	be_nl			"
>>>  P[3]="  3 Classic21 	be_fr			"
>>>  P[4]="  4 DreamFactory en_de			"
>>>  P[5]="  5 Europe1 	fr_fr			"
>>>  P[6]="  6 Europe2 	fr_fr			"
>>>  P[7]="  7 FIP		fr_fr			"
>>>  P[8]="  8 FranceBleu	fr_fr			"
>>>  P[9]="  9 FranceCulture fr_fr			"
>>> P[10]=" 10 FranceInfo	fr_fr			"
>>> P[11]=" 11 FranceInter	fr_fr			"
>>> P[12]=" 12 GrooveSalad	en_gb			"
>>> P[13]=" 13 JoeFM	be_nl			"
>>> P[14]=" 14 LaPremiere	be_fr			"
>>> P[15]=" 15 LeMouv	fr_fr			"
>>> P[16]=" 16 MNM		be_nl			"
>>> P[17]=" 17 NRJ		fr_fr			"
>>> P[18]=" 18 PureFM	be_fr			"
>>> #
>>>  Q[1]=" 19 Q-Music 	be_nl			"
>>>  Q[2]=" 20 Radio1 	be_nl			"
>>>  Q[3]=" 21 Radio2	be_nl			"
>>>  Q[4]=" 22 Radio3	nl_nl			"
>>>  Q[5]=" 23 RadioCampus	be_fr			"
>>>  Q[6]=" 24 RadioNostalgie eu_**			"
>>>  Q[7]=" 25 RFI		fr_fr			"
>>>  Q[8]=" 26 RIM		fr_fr			"
>>>  Q[9]=" 27 RireEtChansons fr_fr			"
>>> Q[10]=" 28 RMC		mc_fr			"
>>> Q[11]=" 29 RTL		fr_fr			"
>>> Q[12]=" 30 SkyRock 	fr_fr			"
>>> Q[13]=" 31 SlowRadio	nl_be			"
>>> Q[14]=" 32 SpamRadio 	en_us			"
>>> Q[15]=" 33 StudioBrussel be_nl			"
>>> Q[16]=" 34 TonicLounge	en_de			"
>>> Q[17]=" 35 TopRadio	be_nl			"
>>> Q[18]=" 36 Vivacite	be_fr			 "
>>> #
>>> LST="/usr/local/bin/whichstation.lst"
>>> #
>>> #MP="mplayer -cache 256 -vo null"
>>> #MP="mplayer -cache 512 -vo null -hardframedrop"
>>> #MP="mplayer -cache 512 -vo null -hardframedrop -ao sdl"
>>> #MP="mplayer -vo null -wid 0x2200041 -xy 242 -nortc -cache 128 -osdlevel 1 -nojoystick -nolirc -slave -nomouseinput"
>>> #MP="mplayer -vo null -wid 0x2200041 -xy 242 -nortc -cache 128 -ao oss -osdlevel 1 -nojoystick -nolirc -slave -nomouseinput"
>>> #MP="mplayer -vo null -af volnorm=2 -wid 0x2200041 -xy 242 -nortc -cache 256 -cache-min 7 -cache-seek-min 55 -ao oss,alsa, -osdlevel 1 -nojoystick -nolirc -slave -nomouseinput"
>>> #MP="mplayer -vo null -af volnorm=2 -nortc -cache 256 -cache-min 7 -cache-seek-min 55 -ao oss,alsa, -osdlevel 1 -nojoystick -nolirc -nomouseinput -slave"
>>> MP="mplayer -vo null -af volnorm=2 -nortc -cache 256 -cache-min 7 -cache-seek-min 55 -ao oss,alsa, -osdlevel 1 -nojoystick -nolirc"
>>>
>>> # Running!!!
>>> #
>>> clear
>>>
>>> setleds +num
>>>
>>> if [ "$1" == "" ]; then
>>> echo " =-=-=-=-=-=-=-=-= Which station would you like to listen to? =-=-=-=-=-=-=-=-=
>>>  "
>>>
>>> for i in $(seq 1 18); do
>>>    echo -e "${P[$i]}\t${Q[$i]}"
>>> done
>>>
>>> echo -ne "\a"
>>> echo "
>>>  ------------------------------------------------------------------------------"
>>>
>>> read -p" Enter the number of your choice (or give it as an argument to the script):  " K
>>> else
>>> K="$1"
>>> fi
>>>
>>> test -z "$K" && clear && echo "Goodbye!" && exit
>>>
>>> for S in "$K"; do
>>> S="`sed -n \"$K\"p $LST`"
>>> clear
>>> echo "CTRL+C to exit . . . "
>>> $MP $S
>>> done
>>>
>>> exec $0
>>>
>>> #
>>> # End of script.
>>
>>> http://acbradio.org:6246 ##ACBRadio
>>> http://streams.lazernet.be:3660 ##BEOne
>>> http://streaming.rtbf.be:8000/2128xrtbf ##Classic21
>>> http://ubuntu.hbr1.com:19800/ambient.ogg ##DreamFactory
>>> mms://viplagardere.yacast.net/encodereurope1 ##Europe1
>>> mms://viplagardere.yacast.net/encodereurope2 ##Europe2
>>> http://www.tv-radio.com/station/fip_mp3/fip_mp3-128k.m3u ##FIP
>>> http://www.tv-radio.com/station/france_bleu_ile-de-france_mp3/france_bleu_ile-de-france_mp3-128k.m3u ##FRBleu (Ile de France)
>>> http://mp3.live.tv-radio.com/franceculture/all/franceculturehautdebit.mp3 ##FRCulture
>>> -playlist http://str2.creacast.com/france_info_64.m3u ##FRInfo
>>> http://mp3.live.tv-radio.com/franceinter/all/franceinterhautdebit.mp3 ##FRInter
>>> -slave -playlist http://www.somafm.com/groovesalad.pls ##GrooveSalad
>>> http://streaming.4fm.be/4fm_hi?MSWMExt=.asf ##JoeFM
>>> http://streaming.rtbf.be:8000/prem128xrtbf ##LaPremiere
>>> http://mp3.live.tv-radio.com/lemouv/all/lemouvhautdebit.mp3 ##LeMouv
>>> http://mp3.streampower.be/mnm-high.mp3 ##MNM
>>> -vc dummy -hardframedrop http://viplagardere.yacast.net/encodernrj ##NRJ
>>> http://streaming.rtbf.be:8000/pure128xrtbf ##PureFM
>>> http://194.0.174.13:80/QBE_MP3_HI ##Q-music.be
>>> http://mp3.streampower.be/radio1-high.mp3 ##Radio1.be
>>> http://mp3.streampower.be/ra2vlb-high.mp3 ##Radio2.be
>>> mms://livemedia.omroep.nl/radio3-bb ##Radio3.nl
>>> -playlist http://radiocampus.ulb.ac.be/streaming/streamstereo.pls ##RadioCampus.be
>>> http://nostalgie.t-n-media.de:8000 ##RadioNostalgie
>>> http://mp3.live.tv-radio.com/rfiafrique/all/rfiafrique-64k.mp3 ##RFI
>>> http://radio.rim952.fr:8001/stream.ogg ##RIM
>>> mms://vipnrj.yacast.net/encoderrireetchansons ##RireEtChansons
>>> mms://viplagardere.yacast.net/encoderrmc ##RMC
>>> http://streaming.radio.rtl.fr:80/rtl-1-44-96 ##RTL FR
>>> -playlist http://cache.yacast.fr/V4/skyrock/skyrock.asx ##SkyRock
>>> -slave -playlist http://streams.slowradio.com/slowradio.pls?id=winamp ##SlowRadio
>>> http://spamradio.com/listen ##SpamRadio
>>> http://mp3.streampower.be/stubru-high.mp3 ##StudioBrussel
>>> http://ubuntu.hbr1.com:19800/tronic.ogg ##TonicLounge
>>> http://ns24907.ovh.net:8000 ##TopRadio
>>> http://streaming.rtbf.be:8000/vivabxlxrtbf ##VivaCite
>>
>>> I've to appology but the next urls in whichstation are broken / moved :
>>>
>>> 	preset  5: europe 1 (fr)
>>> 	preset 22: radio3 (nl)
>>> 	preset 24: radio nostalgie (eu)
>>>
>>> Feel free to help with providing me these urls if interested in
>>> whichstation:
>>> 	'aldo ==DOT== nospam --AT-- scarlet ==DOT== be'
>>>
>>
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>> -- 
>> Rudy Vener, Owner and founder
>> Pizza Galaxy - Online ordering and Email marketing for
>> independent restaurants.
>> Phone: (203) 230-9662
>> Website: http://www.pizzagalaxy.com
>>
>> Restaurant owners, boost your sales with new
>> customers, more visits and increased ticket size with
>> Pizza Galaxy's Online Ordering and E-mail Marketing.
>> Get our free report: The Top 7 Ways for Restaurants to get
>> Customers Online. Go to
>> http://www.pizzagalaxy.com/top7ways.html
>> to get your free copy.
>>
>> see for yourself  how customers hear about restaurant online
>> ordering by following us on  Twitter:
>> http://www.twitter.com/pizzagalaxy
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list


-- 
Rudy Vener, Owner and founder
Pizza Galaxy - Online ordering and Email marketing for 
independent restaurants.
Phone: (203) 230-9662
Website: http://www.pizzagalaxy.com

Restaurant owners, boost your sales with new 
customers, more visits and increased ticket size with 
Pizza Galaxy's Online Ordering and E-mail Marketing.
Get our free report: The Top 7 Ways for Restaurants to get 
Customers Online. Go to
http://www.pizzagalaxy.com/top7ways.html 
to get your free copy.

see for yourself  how customers hear about restaurant online 
ordering by following us on  Twitter:
http://www.twitter.com/pizzagalaxy




More information about the Blinux-list mailing list