mps-youtube: Tamba YouTube zvemukati kubva kune iyo terminal

mps-youtube

YouTube rave rimwe remasevhisi makuru iyo yatinogona kutendeukira ku pKutsvaga mavhidhiyo eanenge chero mhando uye ndeyekuti izvi zvinoonekwa senge network yemagariro. Iko kushandiswa kwatinowanzo kupa sevhisi iri kutsvaga kweanodzidzisa, nhau, mukutsvaga ruzivo pakati pevamwe.

MuGnu / Linux isu tine akasiyana maturusi iyo yatinogona kunakidzwa neiyi social network, kubva pakushandisa webhu bhurawuza, multimedia player kana zvakare kubva kune inouraya.

Nezve mps-youtube

Ndokusaka ino nguva ini ndichatora iwo mukana wekutaura nezve mps-youtube, yatinogona kuridza nayo mimhanzi kubva kuYouTube zvachose mune inouraya, kunyange ichikwanisawo kutamba mavhidhiyo uchishandisa mplayer kana mpv.

Mps-youtube yakavhurika sosi muchinjiko-chikuva application yakanyorwa muPython chirongwa chemutauro uye icho yakavakirwa mpv chinova chikumbiro chinotibvumidza kushandisa chinongedzo kutsvaga, kutamba uye kurodha mumhanzi.

Zvimiro zve mps-youtube

El chinangwa chikuru chekushandisa kushandira seYouTube mimhanzi mutambi, iyo inopa sarudzo dze:

  • Tsvaga uye utambe odhiyo
  • Gadzira uye chengetedza zvinyorwa zvemuno
  • Tsvaga uye upinze YouTube playlists
  • Gadza yakasarudzika odhiyo fomati

Nedzimwe sarudzo senge:

  • Kutamba mavhidhiyo ekunze uchishandisa mpv, mplayer kana vlc
  • Wona vhidhiyo kutaura
  • Zvingasarudzika zviziviso nezve rwiyo shanduko
  • MPRIS v2 kutsigira
  • Yekupedzisira.fm kutsigira rutsigiro

Zvakare, sechimwe chinhu chinowedzera pamusoro pekutamba odhiyo ndizvozvo iko kunyorera kunotipa mukana wekushandura odhiyo kuti ive mp3, aac, wma, pakati pevamwe, chete izvo zvinoda ffmpeg uye avconv yacho.

Maitiro ekuisa mps-youtube pane Linux?

mps-youtube-vhidhiyo

Kana iwe uchida kuyedza kana kutanga kushandisa iyi hombe application Isu tinofanirwa kutanga tave nekumwe kutsamira kwekuitwa chaiko kweimps-youtube mune yedu system.

Sezvataurwa mps-youtube yakanyorwa mu Pyhton, saka isu tinofanirwa kunge takaiseta pane yedu system, kana zvisiri, ingo tsvaga iyo package mune zvinyorwa zveyako system sezvo ichiwanika munzvimbo zhinji dzekuparadzira.

Kana isu tichida kuziva kana isu tine Python yakaiswa pakombuta yedu isu tinofanirwa kuvhura terminal uye kuitisa:

python3 --version

Iko kwavanofanirwa kugamuchira meseji neiyo yakaiswa vhezheni kana zvikasadaro ivo vanowana iyo "isina kuwanikwa" uye ivo vanofanirwa kuiisa:

Para Debian, Ubuntu uye zvigadzirwa zvatinoisa ne:

sudo apt-get install python3-pip mpv

Para nyaya yaFedora, yakavhurikaSUSE, CentOS uye zvigadzirwa:

dnf -y install python-pip python3 mpv

Para Arch Linux, Manjaro uye zvigadzirwa:

sudo pacman -S python3 python-pip mpv

Waita izvi izvozvi isu tinofanirwa kuwedzera nzira kufaira redu vashandi vane:

echo "export PATH=\"\$PATH:\$HOME/.local/bin\"" >> ~/.bashrc

. ~/.bashrc

Iye zvino tinogona kuenderera mberi nekuisa iko kunyorera ne:

pip3 install --user mps-youtube youtube-dl

Como nhanho yekusarudza inogona kuisa dbus-python uye pygobject yemushandisi wako kana vachida mps-youtube kutsigira MPRIS v2, zvinoreva kuti vanozowana iyo media player inodzora muSound Menyu:

pip3 install --user dbus-python pygobject

Sezvambotaurwa, kana iwe uchida kusanganisa kutamba kwevhidhiyo, unogona kuzviita nevlc, inova yako yakazara sarudzo yekuisa.

Mashandisiro ekushandisa mps-youtube?

Chete isu tinofanirwa kuvhura terminal uye titevere inotevera rairo kutanga iyo application:

mpsyt

Iye zvino tinogona kushandisa injini yekutsvaga yemukati Kuti uwane rwiyo rwekuteerera kana vhidhiyo, ingo shandisa unotevera kuraira:

help search

Mps-youtube yakanyatsogadziriswa zvakare. Semuenzaniso, iyo yekutsvaga mitsva yekutsvaga inogona kugadzirirwa kuratidza mimwe minda. Kuti uone zvese zviripo zviripo, nyora "rubatsiro marongero" mu mps-youtube.

Kugonesa kutamba kwevhidhiyo mukushandisa isu tinofanirwa kuita uyu murairo:

set show_video true

Waita izvi Isu tinofanirwa kumisikidza mutambi unozove iye anozoitiswa kuitira kuburitsa vhidhiyo.

set player <player>

Kupi kugadzirisa iyo mpv player ingotsiva mplayer kana kumisikidza vlc shandisa "cvlc".


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Mhinduro, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   Carlos Santiago akadaro

    Yakanaka chinyorwa, chakandibatsira kuziva kutamba vhidhiyo. Kwaziso