PyRadio, kunshin kariyar mai kunna rediyo don tashar Ubuntu

game da Pyradio

A talifi na gaba zamuyi dubi ne akan PyRadio. Wannan shi ne na'urar rediyo ta intanet dangane da La'ana. Buɗaɗɗen tushe ne kuma yana gudana a kan na'ura mai kwakwalwa na tsarin Ubuntu ɗin mu. Software ana aiwatar dashi a Python kuma yana amfani da Mplayer ko VLC don sake kunnawa kafofin watsa labarai.

Wannan na'urar kunna rediyon ta Intanet da aka yi amfani da ita a tashar za a iya shigar ta hanyoyi daban-daban. A cikin labarin mai zuwa zan gwada shi akan Ubuntu 16.04, amma yakamata yayi kyau akan mafi yawan UNIX na tushen tsarin aiki kuma karɓa fakitin gaggawa.

Pyradio bukatun

Da farko dai, dole ne muyi Tabbatar an shigar da MPlayer ko VLC kuma yana cikin HANYA na tsarin aikin mu. Don tabbatar da wannan, dole ne mu je tashar da muke so (Ctrl + Alt + T) kuma mu tabbata cewa waɗannan shirye-shiryen suna farawa lokacin da muke rubuta "mplayer" ko "vlc" a ciki. Idan wannan ya faru, za a ƙara mana shirye-shiryen zuwa HANYA. Idan ba haka ba, ya kamata ku ƙara su kafin ci gaba.

Wani abin da ake buƙata shi ne shigar a cikin tsarin aikin mu Python 2.6/3.2 ko mafi girma don iya gudanar da wannan shirin akan kwamfutarmu ba tare da matsaloli ba.

Shigar Pyradio

Pyradio 1.3.2 shigarwa ta hanyar kunshin kamawa

Kamar koyaushe, al'ummar Ubuntu sun yi aiki don kar a bar wannan kyakkyawan shirin a baya. Da Kunshin PyRadio mai ɗaukar hoto, wanda zai sauƙaƙe sauƙin shigar da kayan aiki a cikin Ubuntu 16.04 kuma mafi girma. Za'a iya shigar da wannan kunshin ta hanyar ko dai ta hanyar Zaɓin software na Ubuntu:

Pyradio cibiyar shigarwa software

ko ta hanyar bin umarnin nan mai zuwa a cikin tashar (Ctrl + Alt + T):

zazzage m pyradio m

sudo snap install pyradio

Tunda aikace-aikacen snap ya ƙunshi mafi yawan ɗakunan karatu da buƙata, fayil ɗin shigarwa yana da girma ƙwarai. Wannan yana nufin cewa idan haɗinmu ba shi da saurin "mai kyau", zai ɗauki ɗan lokaci don saukewa.

Sanya Pyradio 0.5.2 ta hanyar bututu

Idan muna son gwada fasalin farkon wannan shirin, zamu iya shigar da shi daga tashar yin amfani da PIP. Babu shakka dole ne a sanya wannan Manajan kunshin Python. Da zarar mun tabbatar mun girka manajan kunshin, kawai zamu rubuta a cikin tashar (Ctrl + Alt T):

sudo pip install pyradio

Gudun Pyradio

Da zarar an gama shigarwa, ta kowace hanya, zamu iya fara kunna rediyo, aiwatarwa a cikin m (Ctrl + Alt T) umarnin mai zuwa:

Pyradio yana aiki

pyradio --play

Gajerun hanyoyin keyboard na Pyradio da taimako

Kamar wannan wasan kwaikwayo babu GUI, za mu buƙaci matsawa ta ciki tare da madannin keyboard. Nan gaba za mu ga gajerun hanyoyin madannin keyboard waɗanda za mu samu a hannunmu:

  • Sama / Kasa / j / k / PgUp / PgDown Da wadannan makullin zamu iya canza zabin gidan rediyon.
  • intro → Sake kunna gidan rediyon da aka zaɓa zai fara.
  • - / + Andara da rage ƙarar.
  • m → shiru Kashe sautin gidan rediyo.
  • r Zaɓi kuma kunna tashar bazuwar.
  • g Tsallaka zuwa tashar farko.
  • Sarari → Tsaida / Fara sake kunnawa na tashar da aka zaɓa.
  • Esc/q → Fita daga shirin.

Idan muna bukata taimako Domin aiwatar da aikin da muke sha'awa da wannan shirin, koyaushe zamu iya neman taimakon da yake bamu. Dole ne kawai mu buɗe tashar (Ctrl + Alt T) kuma mu rubuta a ciki:

Taimakon Pyradio

pyradio -h

Cire Pyradio

Cire kayan kunshin Pyradio

Cire fakitin ƙirar daga tsarin aikinmu koyaushe mai sauƙi ne. Dole ne kawai mu buɗe tashar (Ctrl + Alt T) kuma mu rubuta a ciki:

sudo snap remove pyradio

Cire Cire Pyradio da aka sanya tare da PIP

Don cire wannan sigar ta Pyradio da muka girka ta hanyar mai sarrafa kunshin Python, kawai za mu buɗe tashar mota mu rubuta mata:

sudo pip uninstall pyradio

Idan wani yana buƙata ko yana son ƙarin sani game da wannan shirin, zasu iya tuntuɓar la shafin marubuci. Hakanan zamu iya bincika lambar tushe na aikin a cikin shafin na GitHub.


Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Wanda ke da alhakin bayanan: Miguel Ángel Gatón
  2. Manufar bayanan: Sarrafa SPAM, sarrafa sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.