Re: [CBLX] restrictions sur flux en ligne

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


On Tue, Jan 19, 2016 at 04:49:39PM +0100, Prego Jérémy wrote:
> salut Aldo,
> 
> quelle url de flux as-tu pour cette station qui ne fonctionne plus ?

Attention, je n'ai pas dit que la sation x ou y ne fonctionnait plus; le
problème est précisément là: la station ne fonctionne plus que via une appli
pour smartphone, et l'activation ou passage au mode Premium d'un ev. compte
que l'on devrait avoir sur di.fm ou radiotunes.com.
 
> c'est la première fois que j'entend une telle chose, 
> le sujet m'interresse !

Si tu as mon tarball Whichstation/EUstation, si tu lances whichstation.alt
cad celui qui permet d'ouvrir la liste de radios alternatives (electro,
techno, lounge, downtempo, new age, meditative, etc), tu verras aux postes 7
8 9 10 11 12 13 18 21 22 23 24 25 26 27 28 que tu n'entend plus de la zyc
mais l'invitation à te rendre sur le site du groupe en question, pour un
compte Premium. 
 
Le souci pour nous Linuxiens, est qu'on veut avoir le droit de choisir son
player; or si eux contraignent le public à ouvrir un compte Premium (payant
je suppose) et / ou à rapatrier l'appli pour un smartphone, qq part c une
drastique limitation de liberté d'écoute, et sous Linux on devrait en patir
beaucoup.

(cf. deux pj pour que tu puisses ev. essayer par toi-même; il te faut de
pref mplayer)

Aldo. 
 
#!/bin/bash 
# 
# Which(/Rec/Prog/EU)Station - The ultimate easy radio station streaming SCRIPT
# 
# O. La Rosa - http://www.blinuxman.net - Started 19-06-2004 - Public 
# Latest release & more tech spex / info: cf. whichstation.README 
# Based on a script found here: news:be.comp.os.linux 
# Please visit http://blinuxman.net/ providing us with new URLs. 
# Also feel free to visit last.fm, iheard.com or listenlive.eu to help us 
# with keeping this package up-to-date ! 

# How To Contribute to WhichStation ? 
# 1) copy and rename this template to eustation.<countrycode>
# 2) then, provide an $EXE.$CC.lst file with EXACTLY this layout: 
# http://stream.url # 1#lang#Radio Name  (Genre)  
# -playlist http://stream.url/x.m3u # 2#lang#Radio Name  (Genre)  
# ... etc ... until ... 
# http://stream.url:8000 #40#lang#Radio Name  (Genre)  
# 3) do apply chmod to the script 
# then cp both the script & lst to /usr/local/bin 
# 

# VARiables: 
# 
# - Country Code: 
CC="alt" # ...for the executable 
CCM="ALT" # ...to display on screen 
# 
# - EXEcutable prefix: 
EXE="whichstation" # (which/rec/prog/eu...station) 
# 
# - *./*.**.LST path: 
LST="/usr/local/bin/$EXE.$CC.lst"
#LST="$HOME/bin/$EXE.$CC.lst"
# 
# - (which?) Multimedia Player: 
#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 6 -cache-seek-min 55 -ao oss,alsa, -osdlevel 1 -nojoystick -nolirc"
MP="mplayer -vo null -af volnorm=2 -nortc -cache 256 -cache-min 6 -cache-seek-min 55 -nolirc"
#MP="vlc"
#MP="cvlc"
# 
# - another onscreen listing method, for those prefering the older (tabel) way: 
#P[x]="  1 xxxRadio	xx_yy			"
#P[1]="  1 Bel-RTL	fr			"
#P[2]="  2 Classic21 	fr			"
#..... 
#P[20]=" 20 Warm FM         fr 			"
# 
#Q[1]=" 21 City Music 	nl			"
#Q[2]=" 22 Club FM	nl			"
#..... 
#Q[20]=" 40 Zen FM	nl			"
#Q[x]=" 21 xxxRadio	xx_yy			"
# 

# Functions:  
# 
# - main menu size: 
setTerm1 ()
{
	if [ $TERM = "xterm" ]
	then
		/usr/bin/resize -s 45 80
	else
		/bin/stty cols 80 rows 45
	fi
}
# - while playing ... : 
setTerm2 ()
{
	if [ $TERM = "xterm" ]
	then
		/usr/bin/resize -s 45 120
	else
		/bin/stty cols 120 rows 45
	fi
}
# - original (standard) size: 
restoreTerm ()
{
	if [ $TERM = "xterm" ]
	then
		/usr/bin/resize -s 24 80
	else
		/bin/stty cols 80 rows 25
	fi	
}
# 

# ----------------------------------------

# Running !!! 
# 

clear

setleds +num 

setTerm1

if [ "$1" == "" ]; then
echo "  $CCM Menu !  "
echo "==-=-=-=-=-= Which ALTernative station would you like to listen to? =-=-=-=-=-=="

# ... reading directly from $EXE.$CC.lst ... 
cut -d '#' -f2- $LST 

# ... the "old" P/Q tabel way ... 
#  for i in $(seq 1 20); 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

echo "$K"

#test -z "$K" && setleds -num && /bin/stty cols 80 rows 25 && clear && echo "Goodbye!" && exit
test -z "$K" && setleds -num && restoreTerm && clear && echo "Goodbye!" && exit

# !!! play now !!! 
for S in "$K"; do
S="`sed -n \"$K\"p $LST`"
clear
#/bin/stty cols 120 rows 45
setTerm2
echo "ENTER=back CTRL+C=exit  #$K  #$S" 
$MP 2>/dev/null $S
#/bin/stty cols 80 rows 25
#restoreTerm
done

exec $0

# 
# End of script.
http://fr4.ah.fm:443 # 1:AfterHours.FM (Trance/Progressive ! AF.FM, Leading Trance Radio) 
http://streams.echoesofbluemars.org:8000/bluemars # 2:Bluemars: Music for the Space Traveler (Ambient) 
http://streams.echoesofbluemars.org:8000/cryosleep # 3:Bluemars: Cryosleep (Ambient) 
http://streams.echoesofbluemars.org:8000/voicesfromwithin # 4:Bluemars: Voices From Within (Ambient) 
-playlist http://www.listenlive.eu/cheriefm_spa_mp3.m3u # 5:Cherie FM Spa 
http://pub2.radiotunes.com/radiotunes_datempolounge # 6:Datempo Lounge ! RadioTunes.com (SKY.FM) 
http://pub5.di.fm:80/di_chillout # 7:Digitally Imported: Chillout ! Full of trippy flavors ! 
http://pub5.di.fm:80/di_chilloutdreams # 8:Digitally Imported: Chillout Dreams (Ibiza style chillout) 
http://pub6.di.fm:80/di_soulfulhouse # 9:Digitally Imported: Soulful House (from Paris with love!) 
http://pub4.di.fm:80/di_funkyhouse #10:Digitally Imported: Funky House 
http://pub5.di.fm:80/di_progressive #11:Digitally Imported: Progressive ! House, Techno & Trance beats 4 your mind ! 
http://pub5.di.fm:80/di_lounge #12:Digitally Imported: Lounge 
http://pub5.di.fm:80/di_psychill #13:Digitally Imported: PsyChill 
http://ubuntu.hbr1.com:19800/ambient.ogg #14:Dream Factory (Ambient/Chillout/Downbeat/Trance) 
http://electro.mthn.net:8400 #15:Electronic Culture 
http://94.23.66.155:8106 #16:ILR, Chill & Groove 
http://uk1.internet-radio.com:15934 #17:Nature Sounds Radio (Meditation, Chillout, Ambient) 
http://pub6.radiotunes.com:80/radiotunes_newage #18:New Age ! RadioTunes.com (SKY.FM) 
http://stream.raggakings.net:8000 #19:Ragga Kings 
http://91.250.77.9:8023 #20:RMNrelax ! The Relaxed Chillout Station ! 
http://pub6.radiotunes.com:80/radiotunes_classical #21:SKY.FM: Mostly Classical 
http://pub1.radiotunes.com:80/radiotunes_dreamscapes #22:SKY.FM: DreamScapes 
-hardframedrop http://pub2.radiotunes.com:80/radiotunes_smoothjazz #23:SKY.FM: Smooth Jazz 
-hardframedrop http://pub2.radiotunes.com:80/radiotunes_uptemposmoothjazz #24:SKY.FM: Uptempo Smooth Jazz 
-hardframedrop http://pub2.radiotunes.com:80/radiotunes_meditation #25:SKY.FM: Meditation 
-hardframedrop http://pub2.radiotunes.com:80/radiotunes_salsa #26:SKY.FM: Salsa 
-hardframedrop http://pub2.radiotunes.com:80/radiotunes_soundtracks #27:SKY.FM: Simply Soundtracks 
-hardframedrop http://pub2.radiotunes.com:80/radiotunes_classicrap #28:SKY.FM: Classic Rap 
http://relay2.slayradio.org:8000 #29:Slay Radio (C64 Remix) 
http://ice.somafm.com/groovesalad #30:SomaFM: Groove Salad (Chillout) 
http://ice.somafm.com/beatblender #31:SomaFM: Beat Blender (House) 
http://ice.somafm.com/cliqhop #32:SomaFM: Cliq Hop 
http://ice.somafm.com/sonicuniverse #33:SomaFM: Sonic Universe (Jazz) 
http://xstream1.somafm.com:2504 #34:SomaFM: Tags Trance Trip (Progressive) 
http://ice.somafm.com/illstreet #35:SomaFM: Illinois Street Lounge (Lounge) 
http://ice.somafm.com/secretagent #36:SomaFM: Secret Agent (Downtempo) 
http://ice.somafm.com/lush #37:SomaFM: Lush (Mostly Female Vocals with an Electronic Influence) 
http://ice.somafm.com/digitalis #38:SomaFM: Digitalis (Rock) 
http://ice.somafm.com/poptron #39:SomaFM: PopTron! (Pop) 
http://lb.zenfm.be/zenfm.mp3 #40:Zen FM (Lounge) 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/