Tsvaga uye dhawunirodha zvinyorwa zvidiki nekudzvanya kurudyi neOverSubtitlesDownload

OpenSubtitlesDownload

Nguva zhinji isu tinoda kushandisa zvinyorwa zvidiki zvevhidhiyo kana bhaisikopo, izvi kuitira kuti unzwisise zviri nani vhidhiyo uye kunyangwe mashandisiro avo zvinodikanwa kana iwe uchida kuona vhidhiyo kana bhaisikopo nemunhu akaremara.

Pawebhu pane nzvimbo dzinoverengeka kwaunogona kuwana nhamba hombe yezvinyorwa zvidiki yakapihwa nevashandisi. Imwe yeiyi, pakati pezvakanakisa kuvhurwa kwemavhidhiyo.

Iyi webhusaiti, kusiyana nedzimwe, inokutendera kuti utore zvinyorwa zvidiki pasina kunyoreswa pawebhusaiti, inova sarudzo yakanakisa.

Kufamba nemhando dzemasaiti aya kungangoda imwe yenguva yako, saka kushandisa application ine basa rekutsvaga zvinyorwa zvidiki zvevhidhiyo yako iri nani sarudzo.

Nezve OpenSubtitlesDownload.py

OpenSubtitlesDownload.py chishandiso chakanyorwa muPython uye chakagadzirwa kuti chikubatsire nekukurumidza kuwana uye kurodha ma subtitles emavhidhiyo ako aunofarira.

Kunyangwe paine zvimwe zvinoshandiswa zvinogona kuita zvakafanana, Chinhu chinonakidza pamusoro peichi chishandiso ndechekuti inogona kushandiswa se nautilus script kana seyakajairika application inoshanda muGNOME kana KDE desktop nharaunda.

Zvakare chimwe chehunhu hwayo ndeyekuti inogona kushandiswa mune yakazara CLI modhi (Command Line Interface) pane yako NAS, Raspberry Pi, pakati pevamwe.

Kutsvaga kwemusoro wenyaya kunoitwa nekunyatso kuzivisa ako mavhidhiyo mafaira nekuverenga yakasarudzika hash sums yemavhidhiyo.

Dhawunirodha 1

Neiyi nzira, iwe une mukana uri nani wekutsvaga iwo chaiwo manyorerwo emavhidhiyo ako, kudzivirira matambudziko ekuwiriranisa pakati pema subtitles nezvimwe.

OpenSubtitlesDownload.py Zvimiro

Iwo ma subtitles anotsvaga uye ekurodha sevhisi inoshanda ne openubtitles.org, iyo, nekuda kwehunhu hwayo hwekusada kunyoreswa kuti utsvage uye kurodha pasi, iko kunyorera kunovimba neizvi kukupa hunhu hwayo.

Pakati pezvakakosha zvinhu zvatinogona kuratidza zveichi chishandiso chatinowana:

  • Shandisa GNOME / GTK kana KDE / Qt GUI zvichienderana neyako yaunofarira desktop desktop.
  • Tarisa zvidimbu zvidiki mumitauro inopfuura makumi matanhatu akasiyana ezvinyorwa, mabhaisikopo, zviratidzo zveTV nezvimwe ...
  • Tarisa zvinyorwa zvidiki mumitauro yakati wandei panguva imwe chete.
  • Tarisa ma subtitles emafaira akawanda evhidhiyo panguva imwe chete.
  • Inotsvaga yakakodzera vhidhiyo mafaera (uchishandisa mime mhando uye mafaira ekuwedzera).
  • Tsvaga akakodzera mavhidhiyo mazita nekuverenga yakasarudzika bhaisikopo hash sums kuti utore iwo akakodzera manyorerwo eiyo chaiyo faira!
  • Kana kuona kwevhidhiyo kukatadza, kutsvaga zita refaira kuchaitwa senzira yekuchengetedza.
  • Dhawunirodha zvinyorwa zvidiki otomatiki kana paine imwechete chete, sarudza yaunoda neimwe nzira.
  • Dzorerazve zvinyorwa zvidimbu pasi kuti zvifanane neyekutanga vhidhiyo faira Kugona kuwedzera kodhi yemutauro kuzita refaira (semuenzaniso: movie_en.srt).

Maitiro ekuisa OpenSubtitlesDownload.py paLinux?

Dhawunirodha 2

Tinogona kuisa ichi chirongwa chikuru kuti tikwanise kudhawunirodha zvinyorwa zvemavhidhiyo edu nekungodzvanya kurudyi pavhidhiyo.

Nokuda kweizvi Isu tinongofanirwa kuisa zvinoenderana nezvinodiwa, mune zvakawanda zvekugovera ivo vanenge vatove kuiswa.

Zvatinoda ndezvi:

  • python (vhezheni 2 kana 3)
  • zenity (yekuparadzirwa neGnome desktop nharaunda kana Forks yeiyi)
  • kdialog (chete kana iwe uine KDE yakaiswa)
  • wget & gzip

Iye zvino isu tichagadzira dhairekitori rekushandisa neimwe yemirairo iyi, Zvichienderana nemaneja maneja watinoshandisa.

Kutanga isu tinofanirwa kurodha pasi script ne:

wget https://raw.githubusercontent.com/emericg/OpenSubtitlesDownload/master/OpenSubtitlesDownload.py

Kubudiswa, isu tinoenderera nekugadzirisa ne:

nano OpenSubtitlesDownload.py

Uye isu tinotarisa mutsara unotevera:

opt_languages = ['eng']

Pano isu tinoshandura mutauro kana kuwedzera mitauro umo ma subtitles anozotsvaga. Iko kwekutanga ichave mutauro unodikanwa.

opt_languages = ['eng,spa']

Nenzira imwecheteyo Tinogona kuimanikidza kuti itiratidze iripo uye sarudza vamwe, nekuti izvi tinotsvaga mutsara:

opt_selection_mode = 'default'

Uye isu tinoichinjira ku "manual"

opt_selection_mode = 'manual'

Unogona kutarisa zvimwe nezve sarudzo dzekumisikidza Mune inotevera chinongedzo.

Isu tinogadzira dhairekitori uye tinofambisa script kwariri.

Para Nautilus:

mkdir -p ~/.local/share/nautilus/scripts

mv OpenSubtitlesDownload.py ~/.local/share/nautilus/scripts/

chmod u+x ~/.local/share/nautilus/scripts/OpenSubtitlesDownload.py

Para Neme:

mkdir -p ~/.local/share/nemo/scripts

mv OpenSubtitlesDownload.py ~/.local/share/nemo/scripts/

chmod u+x ~/.local/share/nemo/scripts/OpenSubtitlesDownload.py

Para Bhokisi:

mkdir -p ~/.config/caja/scripts

mv OpenSubtitlesDownload.py ~/.config/caja/scripts/

chmod u+x ~/.config/caja/scripts/OpenSubtitlesDownload.py

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

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  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