Code Monkey home page Code Monkey logo

pyrrot-cli's Introduction

SubDB - a free subtitle database

#README

Pyrrot is a multiplatform client for SubDB written in Python. It can run on Windows, Linux and MacOS.

##REQUIREMENTS

  • Python 2.6.5 for all systems.
  • Mark Hammond's Win32all if you want to run Pyrrot as a service on Windows.

##INSTALLING

You need to copy Pyrrot2.py and urllib2_file.py to a folder of your preference. Then, after you've done with the configurations (see below), all you need to do is:

python Pyrrot2.py or c:\Python2.6.5\python.exe c:\path\to\Pyrrot2.py (if you're using windows)

You can also run Pyrrot using cron, or install Pyrrot as a Windows service. To do this:

Cron (Linux): */30 * * * * python /path/to/Pyrrot2.py

Service (Windows): c:\Python2.6.5\python.exe c:\path\to\Pyrrot2Service.py --startup auto install

As you may have noticed, you need to copy Pyrrot2Service.py too.

##CONFIGURATION

You need to edit the following lines on Pyrrot2.py before use it:

PYRROT_DIR = "/path/to/pyrrot" #The path to where Pyrrot is. Can be empty if you're not running Pyrrot as a Windows Service.

DIRECTORIES = ["/path/to/your/video/files", "/path/to/your/video/files2"] #Configure here the directories where your video files are.

LANGUAGES = ["pt", "en"] #The languages to download subtitles, in order of preference.

MOVIE_EXTS = ['.avi', '.mkv', '.mp4', '.mov', '.mpg', '.wmv'] #The video file extensions that you want Pyrrot to looking for.

SUBS_EXTS = ['.srt', '.sub'] #The subtitle extensions that you want Pyrrot to looking for.

If you are on Windows, the paths will be like:

PYRROT_DIR = "c:\\path\\to\\pyrrot"

##FOUND A BUG

http://github.com/jrhames/pyrrot-cli/issues

##LICENSE

This software is distribute under Creative Commons Attribution-Noncommercial-Share Alike 3.0. You can read the entire license on: http://creativecommons.org/licenses/by-nc-sa/3.0/

pyrrot-cli's People

Contributors

jrhames avatar lkraider avatar

Watchers

 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.