Page 1 of 1

fussball - Bundesliga streamer

Posted: Sat May 02, 2015 3:56 pm
by machinebacon
It's only interesting for the Germans here, sorry. On a match day, you pick the region of your favorite football team or one of the Sport1 streams.

Nur fuer die Fans der Bundesliga interessant. Man waehlt einfach die Region seines Lieblingsvereins und bekommt am Spieltag einen Livestream gespielt. Ha-ho-he!

Code: Select all

#!/bin/bash

array=( "Baden-Wuerttemberg" "Bayern" "Bremen" "Berlin/Brandenburg" "Hamburg/Niedersachsen/Mecklenburg-Vorpommern/Schleswig-Holstein" "Hessen" \
"Nordrhein-Westfalen" "Rheinland-Pfalz" "Saarland" "Sachsen/Sachsen-Anhalt/Thueringen" "Sport1.fm" )

select opt in "${array[@]}"; do
	echo "$opt"
	break
done
if [ "$opt" == "Baden-Wuerttemberg" ]; then
	S="http://mp3-live.swr.de/swr1bw_m.m3u"
elif [ "$opt" == "Bayern" ]; then
	S="http://streams.br-online.de/bayern1_2.m3u"
elif [ "$opt" == "Bremen" ]; then
	S="http://httpmedia.radiobremen.de/bremeneins.m3u"
elif [ "$opt" == "Berlin/Brandenburg" ]; then
	S="http://www.radioeins.de/live.m3u"
elif [ "$opt" == "Hessen" ]; then
	S="http://metafiles.gl-systemhaus.de/hr/hrinfo_2.m3u"
elif [ "$opt" == "Hamburg/Niedersachsen/Mecklenburg-Vorpommern/Schleswig-Holstein" ]; then
	S="http://www.ndr.de/resources/metadaten/audio/m3u/ndr2.m3u"
elif [ "$opt" == "Nordrhein-Westfalen" ]; then
	S="http://www.wdr.de/wdrlive/media/wdr2.m3u"
elif [ "$opt" == "Saarland" ]; then
	S="http://streaming01.sr-online.de/sr3_2.m3u"
elif [ "$opt" == "Sachsen/Sachsen-Anhalt/Thueringen" ]; then
	S="http://avw.mdr.de/livestreams/mdr_info_live_128.m3"
elif [ "$opt" == "Sport1.fm" ]; then
	array2=( http://stream.sport1.fm/api/livestream-redirect/SPORT1FM_Einzel1.mp3  \
	http://stream.sport1.fm/api/livestream-redirect/SPORT1FM_Einzel2.mp3     \
	http://stream.sport1.fm/api/livestream-redirect/SPORT1FM_Einzel3.mp3     \
	http://stream.sport1.fm/api/livestream-redirect/SPORT1FM_Einzel4.mp3     \
	http://stream.sport1.fm/api/livestream-redirect/SPORT1FM_Einzel5.mp3     \
	http://stream.sport1.fm/api/livestream-redirect/SPORT1FM_Einzel6.mp3 \
	http://stream.sport1.fm/api/livestream-redirect/SPORT1FM_24_7.mp3 )
	select opt in "${array2[@]}"; do
	mpg123 -m -b 1000 -@ "$opt" &
	break
done
fi
mpg123 -m -b 1000 -@ "$S" &

Re: fussball - Bundesliga streamer

Posted: Sat May 02, 2015 8:42 pm
by ivanovnegro
A pity I do not watch Bundesliga. :P

Re: fussball - Bundesliga streamer

Posted: Sun May 03, 2015 12:05 pm
by simgin
Bayern Munich uber alles :D

Re: fussball - Bundesliga streamer

Posted: Sun May 03, 2015 2:03 pm
by rhowaldt
Bayern *München* :)

probably not gonna watch, but maybe my GF's German friend who is coming over next week will be interested! thanks Jules!

Re: fussball - Bundesliga streamer

Posted: Sun May 03, 2015 3:12 pm
by machinebacon
Ladies, this is RADIO.

Of course you try watching TV via mpg123 :)

Re: fussball - Bundesliga streamer

Posted: Sun May 03, 2015 3:44 pm
by rhowaldt
ooh damn... hahaha :)

Re: fussball - Bundesliga streamer

Posted: Sun May 03, 2015 4:55 pm
by machinebacon
stanislaus said, you can watch the mp3 stream as video in mp321 if you enable --frowantje_ana1 and compile with SCHL0N6_STRAP set to 'on'...

Re: fussball - Bundesliga streamer

Posted: Sun May 03, 2015 6:40 pm
by rhowaldt
damn Stanislaus, always has these great tips, i swear to Dog he eats compilers for breakfast.