Kunta Ethnicradio terminal'ta mĕnle itlemelline kalasa param.
Maltan mplayer lart. (mplayer terminalti văjlă player)
Ubuntura:
sudo apt-get install mplayer
Kajran .radio fajl tu ( puşlamăshĕnci păncă kurănajmakanlatat fajlne):
gedit .radio
Uşnă fajlra: şak bash script'ne kĕrtĕr:
#!/bin/bash
echo ""
echo ""
echo "ETHNICRADIO.NET"
echo "Discover your roots"
echo ""
echo " 1 -> Chuvash"
echo " 2 -> Erzia & Moksha"
echo " 3 -> Udmurt"
echo " 4 -> Mari"
echo " 5 -> Buryat"
echo " 6 -> Sakha"
echo " 7 -> Komi"
echo " 8 -> Tuva"
echo " 9 -> Karelian"
echo " 10 -> Chukchi"
echo " 11 -> Khakass"
echo " 12 -> Kalmyk"
echo " 13 -> Ossetian"
echo " 14 -> Evenk"
echo " 15 -> Tatar"
echo " 16 -> Koryak"
echo " 17 -> Khanty"
echo " 18 -> Russian"
echo ""
echo "Choose a station"
read radio
if [ "$radio" = "1" ]; then
mplayer http://www.ethnicradio.net:8200/listen.pls
elif [ "$radio" = "2" ]; then
mplayer http://www.ethnicradio.net:8800/listen.pls
elif [ "$radio" = "3" ]; then
mplayer http://www.ethnicradio.net:8500/listen.pls
elif [ "$radio" = "4" ]; then
mplayer http://www.ethnicradio.net:8100/listen.pls
elif [ "$radio" = "5" ]; then
mplayer http://www.ethnicradio.net:8300/listen.pls
elif [ "$radio" = "6" ]; then
mplayer http://www.ethnicradio.net:8400/listen.pls
elif [ "$radio" = "7" ]; then
mplayer http://www.ethnicradio.net:8600/listen.pls
elif [ "$radio" = "8" ]; then
mplayer http://www.ethnicradio.net:8900/listen.pls
elif [ "$radio" = "9" ]; then
mplayer http://www.ethnicradio.net:9000/listen.pls
elif [ "$radio" = "10" ]; then
mplayer http://www.ethnicradio.net:8150/listen.pls
elif [ "$radio" = "11" ]; then
mplayer http://www.ethnicradio.net:8250/listen.pls
elif [ "$radio" = "12" ]; then
mplayer http://www.ethnicradio.net:8700/listen.pls
elif [ "$radio" = "13" ]; then
mplayer http://213.234.255.146:9050/listen.pls
elif [ "$radio" = "14" ]; then
mplayer http://ethnicradio.net/news.shtml#
elif [ "$radio" = "15" ]; then
mplayer http://www.suzlek.ru:8100/listen.pls
elif [ "$radio" = "16" ]; then
mplayer http://www.ethnicradio.net:8450/listen.pls
elif [ "$radio" = "16" ]; then
mplayer http://www.ethnicradio.net:8550/listen.pls
elif [ "$radio" = "16" ]; then
mplayer http://www.ethnicradio.net:8000/listen.pls
exit
fi
(Ku .radio fajlĕ /home/san-jatu/ papkince vyrnăşmalla. Kajran şămăltarah tapratma pulat')
Kajran sudo (admin) pravisem kirlĕ marla ku fajla:
sudo chmod +x .radio
Pulcĕ. Itler apla.
Terminal'ta şyr:
./.radio
Urra, radiostancine sujla ta kilen!
Havhalanine shvet ubuntu forumĕnce tuprăm.
http://ubuntu-se.org/smf/index.php/topic,7685.0.html