Eniri | Registriĝo | Сайта кӗрсен унпа туллин усӑ курма пулӗ
 +5.3 °C
 

Reklamo

тусăмсем пĕлеççĕ: Ethnicradio terminal'ta

тусăмсем пĕлеççĕ27.01.2008 22:058255 Пурĕ пăхнă
Esir grafikӑsӑr sistemince ӗşletӗr-i? şapla pulin te cӑvash je ytti halӑh musikisӗr purӑnma pultarajmastӑr-i? Ku proplema mar.

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
 
Redakcia noto: La publikigo de artikoloj ne signifas, ke la redakcia estraro dividas la opinion de ĝiaj aŭtoroj.

Aldoni novan komenton

Via nomo:
Via komento:
B T U T Titolo1 Titolo2 Titolo3 # X2 X2 Bildo http://
WWW:
ĂăĔĕÇçŸÿ
Всего введено: 0 симв. Лимит: 1200 симв.
Сирĕн чăвашла çырма май паракан сарăм (раскладка) çук пулсан ăна КУНТАН илме пултаратăр.
 

Permesitaj HTML tegoj:

... ... ... ... ...

...

...

...

...
... ...
    1. (Ĉiuj tegoj devas esti skribitaj laŭregule. Se tego bezonas fermon - ĝi devas esti fermita)

Orphus

Ытти чĕлхесем

Reklamafiŝoj

Kalkuloj