Sign in | Sign Up | Signing in will enable you to post comments and send messages to the users.
 +12.5 °C
Все созидает для смертных забота и труд человека.(Архилох)
 

Ad

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

тусăмсем пĕлеççĕ27.01.2008 22:057924 views
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
 
Editorial note: The publication of articles does not mean that the editorial board shares the opinion of its authors.

Comments

Your Name:
Your Comment:
B T U T Headline1 Headline2 Headline3 # X2 X2 Image http://
WWW:
ĂăĔĕÇçŸÿ
Symbols used: 0 symb. Maximum symbols: 1200 symb.
CLICK HERE to choose from a number of free Chuvash keyboard layout software.
 

Supported HTML Tags:

<i>...</i> <b>...</b> <u>...</u> <s>...</s> <a>...</a> <img> <h1>...</h1> <h2>...</h2> <h3>...</h3> <pre>...</pre> <sub>...</sub> <sup>...</sup> <ul> <ol> <li>

Orphus

In Other Languages

Banners

Counters