CircleCI Maintainability Gem Version

This Gem only works for video files with S[Number]E[Number] (i.e., S01E02) format in their names.

Subfinder

You have a TV series without subtitles. Open the terminal, go to the folder where you saved your files, and run subfinder. It will find the similar subtitle files (only .srt) on the folder and rename it to video file. If the subtitles are not exists on your disk, then it will download, from the subscene URL you provided, extract and rename them.

It works fine with the video file names which followed S01E01 naming format.

Installation

First you need to have Ruby and Gem on your machine.

Then simply run:

$ gem install subfinder

Without any switches, this will unzip all zipped or compressed files and find/rename them to correspondent video file. Also you can provide the URL for subscene.com list page with -u and it would download the correct file and do the rest.

Usage

$ subfinder -u https://subscene.com/subtitles/the-kominsky-method -l fa

  • Use -l or --languagefor subtitle language you want. Default is English. Right now only fa and en are supported.

  • Use -u or --url to specify a URL page of a TV series on subscene.com website.

  • Run subfinder --dryrun to create set of mock files on you current directory and running Subfinder.

  • Also see sunfinder -h for help

Development

  • Please report any broken thing using Github issues *

To run tests, run rake test.

To see all logs, run with -d or --degub

Clone the project. Make changes and then rake build inside the project folder to create Gem.

Then gem install pkg/subfinder-0.0.1.gem to install it locally.

License

The gem is available as open source under the terms of the MIT License.

TODO

  • Add all language codes