The hastily package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Please see README.md


[Skip to ReadMe]

Properties

Versions0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6
Change logNone available
Dependenciesaeson, base (>=4.6 && <5), bytestring, concurrent-extra, containers, directory, directory-tree, exceptions, filepath, hastily, http-client, http-types, hxt, parsec, string-conversions, text, unbounded-delays, zip-archive [details]
LicenseBSD3
Copyright2015 Sandeep.C.R
AuthorSandeep.C.r
Maintainersandeepcr2@gmail.com
CategoryCli
Home pagehttp://bitbucket.org/sras/hastily
Source repositoryhead: hg clone https://bitbucket.org/sras/hastily
Executableshastily
UploadedWed Sep 30 13:17:17 UTC 2015 by sras

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for hastily-0.1.0.3

[back to package description]

Hastily - A downloader of subtitles

Finding the right subtitle for a movie file can be a frustrating experience if the movie file name does not have a unique release name, or there is no subtitle available that is specifically made for the release/file you have in your possession. In such cases, you often have to resort to trial and error method. And there is no guarantee that among the 15 or 20 subtitles available, one them will match the movie file you have.

Hastily is a program to help you in such cases. The way it works is simple.

  1. You invoke Hastily passing a partial movie name as an argument.
  2. Hastily will search the and provide you with a list of movie names that contains the search key that you passed. You can select the correct movie from that list.
  3. Hastily will search and find all the available subtitles for that movie.
  4. It will then extract and scan the subtitle files and find a dialogue that does not repeat in the same subtitle file and also appears in the most of the downloaded subtitles.
  5. It will then print out the time when that particular dialogue appears in all of the downloaded subtitles.

You have to find out when that particular dialogue appears in your movie file. Use this time and the list printed out by Hastily to find the best matching subtitle among those.

Right now Hastily uses OMDB API to search for the movies and opensubtitles.org to search and download subtitles. And right now it will only process .srt files.

Have fun!