Coder Social home page Coder Social logo

thiagoalz / opensubtitlesdownload Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emericg/opensubtitlesdownload

3.0 2.0 0.0 1.06 MB

Automatically find and download the right subtitles for your favorite videos!

Home Page: https://emeric.io/OpenSubtitlesDownload.html

License: GNU General Public License v3.0

Python 100.00%

opensubtitlesdownload's Introduction

OpenSubtitlesDownload.py

GitHub release GitHub contributors GitHub issues License: GPL v3

Introduction

OpenSubtitlesDownload.py is a small software written in python, built to help you quickly find and download subtitles for your favorite videos. It can be used as a nautilus script, or as a regular application working under GNOME or KDE desktop environments. You can also use it in full CLI mode (Command Line Interface) on your NAS, Raspberry Pi, macOS or wherever you want to bundle it really!

The subtitles search is done by precisly identifying your video files by computing unique movie hash sums. This way, you have more chance to find the exact subtitles for your videos, avoiding synchronization problems between the subtitles and the soundtrack. But what if that doesn't work? Well, a search with the filename will be performed, but be aware: results are a bit more... unpredictable (don't worry, you will be warned! and you can even disable this feature if you want).

The subtitles search and download service is powered by opensubtitles.org. Big thanks to their hard work on this amazing project! Be sure to give them your support if you appreciate the service provided, they sure need donations for handling the ever growing hosting costs!

Features

  • Use a GNOME/GTK or KDE/Qt GUI depending on your favorite desktop environment.
  • Or just use the CLI! Great for automation, and it works on Linux, macOS and Windows :).
  • Query subtitles in more than 60 different languages for documentaries, movies, TV shows and more...
  • Query subtitles in multiple languages at once.
  • Query subtitles for multiple video files at once.
  • Detect valid video files (using mime types and file extensions).
  • Detect correct video titles by computing unique movie hash sums in order to download the right subtitles for the right file!
  • If the video detection fails, search by filename will be performed as backup method.
  • Download subtitles automatically if only one is available, choose the one you want otherwise.
  • Rename downloaded subtitles to match source video file. Possibility to append the language code to the file name (ex: movie_en.srt).

Requirements

  • python (version 2 or 3)
  • zenity (only for GNOME based desktop environments)
  • kdialog (only for KDE based desktop environments)
  • common unix tools: wget & gzip (subtitles downloading), ps & grep (GUI autodetection)

Installation

Quick installation as a nautilus script, under GNOME 3 desktop environment:

$ mkdir -p ~/.local/share/nautilus/scripts/
$ cd ~/.local/share/nautilus/scripts/
$ wget https://raw.githubusercontent.com/emericg/OpenSubtitlesDownload/master/OpenSubtitlesDownload.py
$ chmod u+x OpenSubtitlesDownload.py

Website

You can browse the project's website at https://emericg.github.io/OpenSubtitlesDownload
You can browse the project's GitHub page at https://github.com/emericg/OpenSubtitlesDownload
Learn much more about OpenSubtitlesDownload.py installation and configuration on its wiki at https://github.com/emericg/OpenSubtitlesDownload/wiki

Contributors

  • Emeric Grange [email protected] maintainer
  • jeroenvdw for his work on the 'subtitles automatic selection' and the 'search by filename'
  • Gui13 for his work on the arguments parsing
  • Tomáš Hnyk [email protected] for his work on the 'multiple language' feature
  • Carlos Acedo [email protected] for his work on the original script

License

OpenSubtitlesDownload.py is a free software released under the GPL v3 license https://www.gnu.org/licenses/gpl-3.0.txt

Screenshots!

Start subtitles search

Download selected subtitles

Enjoy your subtitled video! Enjoy your subtitled video!

What if multiple subtitles are available? Just pick one from the list! Multiple subtitles selection

opensubtitlesdownload's People

Contributors

emericg avatar thiagoalz avatar felagund avatar glensc avatar gui13 avatar jeroenvdw avatar

Stargazers

 avatar Vinnicius de Oliveira Campagnuci avatar Danilo Resende avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.