Code Monkey home page Code Monkey logo

fts's Introduction

fts (findthatsub)

Instantly find subtitles via the command line

fts will have difficulties finding subtitles for obscure media content but most recent releases should be covered by the services that it uses to find subtitles, OpenSubtitles and Subscene.

Install

Using pip

$ pip install fts

Build from source

$ git clone https://github.com/sereneblue/fts
$ cd fts
$ python setup.py install

Usage

fts [--lang <lang>] <filepath>
fts set <username> <password>
fts upload <filepath> <subpath>

Options

-h --help                Show this screen.
--version                Show version
--lang=<lang>			 Specify language for subtitle. Default is 'eng'. Uses ISO 639-2 code

Example

$ fts The.Pirate.Bay.Away.From.Keyboard.2013.1080p.BRrip.x264.GAZ.YIFY.mp4
Found subtitle! Downloading...
=> Subtitle downloaded to:
/home/sereneblue/Downloads/The Pirate Bay Away From Keyboard (2013 [1080p]/The.Pirate.Bay.Away.From.Keyboard.2013.1080p.BRrip.x264.GAZ.YIFY.srt

$ fts --lang spa "The Complete Metropolis Disc 1_Title1.mp4"
Can't find subtitle on OpenSubtitles. Checking subscene...
=> Couldn't find subtitle on subscene either. :'(

$ fts upload The.Pirate.Bay.Away.From.Keyboard.2013.1080p.BRrip.x264.GAZ.YIFY.mp4 The.Pirate.Bay.Away.From.Keyboard.2013.1080p.BRrip.x264.GAZ.YIFY.srt
=> Subtitle already in database!

Use your OpenSubtitles account

It is strongly recommended that you create an OpenSubtitles account for use with this tool. Once your account is activated, store your credentials by running:

$ fts set user pass

Or create a file at '~/.ftsrc' like this:

user
pass

Thanks

Please consider supporting OpenSubtitles & Subscene (by viewing their ads)

fts's People

Contributors

sereneblue avatar

Watchers

 avatar  avatar  avatar

Forkers

omega303

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.