GithubHelp home page GithubHelp logo

yosi-dediashvili / subit Goto Github PK

View Code? Open in Web Editor NEW
19.0 5.0 2.0 44.32 MB

Subtitles downloading, the right (click) way.

Home Page: http://subit-app.sourceforge.net

License: GNU General Public License v3.0

Python 98.23% Inno Setup 0.16% C++ 1.53% C 0.08%

subit's Introduction

Notice

The development of SubiT has currently stopped by my side. Feel free to contribute to the project. With that said, i'll try to respond to emails and such.

#Our site: http://subit-app.sf.net

SubiT is an automated program for downloading subtitles.

This is how the main window of the program looks under Windows 7: alt text

First of all, feel free to contact us with any problem at: http://www.subit-app.sf.net/contact.html

##Download: SubiT's compiled files are stored in Sourceforge.

##Develop: SubiT is written in python, with one exception which is the ContextMenuHandler (for Windows) that was written in c++.

##Usage:

###For Windows users: It's recommended that you will use the win32 setup file of SubiT in order to perform the installation. However, if you refuse to do so, follow these steps:

How To Install: 
	1. Extract files from the zip archive
	2. For right click association, Click Start->Run->Cmd, and type in the location of SubiT.exe 
	   file and pass it the -associate param, i.e. "SubiT.exe -associate" (without the quotes)
	3. Use right click on a movie/ TV show or just run SubiT.exe

How To Uninstall:
	1. For right click association, Click Start->Run->Cmd, and type in the location of SubiT.exe 
	   file and pass it the -unassociate param, i.e. "SubiT.exe -unassociate" (without the quotes)
	2. Delete SubiT's folder

*NOTE: If the right click menu doesn't work (complains about missing file or something like that), Execute 
SubiT and go to Settings->Context Menu, and uncheck the "Associate extensions" check box, click apply, and
recheck the checkbox, and finally, click Apply.

###For Linux users: 1. Grab SubiT's source files. 2. Install the dependencies specified in "SubiTSdk/Dependencies.txt" 3. Execute SubiTProxy.py under the src directory.

###For OSX users: From minor check that we made, SubiT is capable of running under OSX after the PySide module is installed on the System. We currently not supporting OSX. Contact us if you're interested on running SubiT under apple's OS.

###Using SubiT in Command Line mode (CLI):

After several requests for cli mode in SubiT, we added this feature in version 2.0.0. To activate it, 
you need to manually edit the config.ini file of SubiT (located under SubiTs folder, in the Settings 
directory). The relevant key in the configuration is the Global.interaction_type.

In order to apply gui, set the value to 0.
In order to apply silent gui mode, set the value to 1 (won't work, set for future implementation).
In order to apply cli, set the value to 2.
In order to apply silent cli mode, set the value to 3 (Probably won't work that good).

Launch SubiT as usual.

##Changelog:

  • Version 2.2.5 -

  • Version 2.2.4 -

  • Version 2.2.3 -

  • Version 2.2.2 -

    • Fixed minor bug when associating SubiT with ContextMenu when SubiT is placed in a None-English path
  • Version 2.2.1 -

    • Fixed Subscenter's provider
  • Version 2.2.0 -

    • Added support for www.subscene.com
    • Added fake subtitle check to Torec's provider (we'll no longer download the fake subtitles)
    • Fixed SubsCenter's provdier
    • Improved the logic in Addic7ed's provider (Distinguish between serieses and movies results)
    • Added more languages (Spanish, Turkish, Slovak and Czech)
    • Added Unit Testing for the SubProviders
    • Fixed compilation scripts so they do not contain staic paths
    • Search line is kept after the subtitle is downloaded
    • Close on finish is set to False by default
  • Version 2.1.2 -

    • Fixed Torec's and Subtitle's providers.
  • Version 2.1.0 -

    • Use argparse to parse the arugments
    • Save the last window size (when the program closes) for the next program startup
    • Remember the visibility of the log window
    • Add option to select between startup point of center screen or mouse position
    • Add option (in config) to simply use all the providers (instead of choosing them all)
    • Fix empty result returned by Addic7ed's provider
    • Return Win32_Error to notify failure in download
    • Distribute SubiT with no language selected
    • Create new Context Menu for windows platform
    • Adjust latin numbering for the ranking functions
    • Fix TorecProvider blocking
    • Create a new SubFlow.
    • Put movie name in the textbox when it's past as a parameter to SubiT
  • Version 2.0.2 (Linux only) -

    • Major bug fix in SubiT's console mode
  • Version 2.0.1 -

    • Critical Bug fix in the ranking functions
    • Edge case Bug fix in movie name formatting function
    • Bug fix in the update notification
  • Version 2.0.0 -

    • New head version!
    • Major GUI improvments and changes
    • Added support for www.addic7ed.com
    • Movie file drop to SubiT's main window is now supported
    • Added support for default download location
    • Improved log messages
    • Subtitles selection flow improved
    • Subtitles Ranking function improved
    • Improved provider selection (both language and site)
    • Fixed update mechanizm
    • Privilage elevation is requested when performing right-click association in none Admin account (under Windows)
    • Crashing fixed completely
  • Version 1.3.1 -

    • Added support for primary and secondary language subtitles search
    • Removed auto-update feature (the feature will return on later version)
    • Improved function for subtitles versions ranking
    • Added support for Linux (Checked under ununtu)
    • Right-click registration problem - Fixed (still need to run as administrator for registration)
    • Changed www.sratim.co.il handler to work with the latest changes on the site
    • Changed www.torec.net handler to work with the latest changes on the site
    • Fixed several minor bugs
  • Version 1.3.0 -

    • Added full support for www.sratim.co.il
    • Added full support for www.subscenter.org
    • Added upate mechanizm (AutoUpdate&Update notification)
    • Using www.OpenSubtitles.org's file hash&name data to identify movies (and serieses)
    • Moved to unified configuration file and better settings window
    • Enabled auto-close on finish
  • Version 1.2.0 -

    • Added support to www.subscenter.org subtitles (Movies only)
    • Added restart options in settings windows
    • Fixed crashing problems
  • Version 1.1.0 -

    • Added support to www.OpenSubtitles.org subtitle services Added support for selecting different subtitle handler
    • Gui Improvments
  • Version 1.0.0 -

    • Bug fix and new features
  • Version 0.9.9 -

    • Initial release

--==Special thanks to www.OpenSubtitles.org for delivering their API==--

subit's People

Contributors

yosi-dediashvili avatar nim901 avatar kosh-b avatar subit avatar

Stargazers

 avatar  avatar Vassil Kateliev avatar  avatar velu4ever avatar  avatar Samuel avatar George Haber avatar Rashelle Kosiborod avatar Nir avatar  avatar  avatar Luke Fielke avatar Federico avatar  avatar  avatar Валери Фиков avatar Leonard avatar AI avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

subit's Issues

Improvements to the normalization module

We need to add another normalization method that concatenates words from the title. The new method will come right after the 2nd normalization, and for will:

  • For each pair of words (as a sliding windows) splitted by underscore _, concatenate them, and define it as normalized string
    • For each normalized string, we'll apply the 3rd and 4th normalization method

This step will actually return a list of normalized strings and not a single ont.

The providers module

Including the factory, the MainProvider and everything else.

  • MainProvider
  • Providers factory

Providers

  • OpenSubtitles
  • Addic7ed
  • Torec
  • Subscenter
  • Subtitles (Ktuvit)
  • Subscene

Languages that will be supported

  • Hebrew
  • English
  • Spanish
  • Arabic
  • Bulgarian
  • Slovak
  • Turkish
  • Czech
  • Russian
  • Norwegian
  • Swedish
  • French
  • Greek
  • Portuguese
  • Croatian
  • Romanian
  • Catalan

GUI redesign

In order to design the GUI correctly, we first need to define the use cases for SubiT.

The user:

  1. Opens the program directly with no parameters, and drags / browse one or more files/directories.
  2. Opens the program directly, and enters a free query
  3. Fires up the program via the context menu or CommandLine with one ore more files/directories.

In any of the cases, the user might decide to:

  1. Cancel the download for one or more files.
  2. Perform a manual selection of the right subtitle for a given file.
  3. Decide/be asked to supply an alternative query for file/query.
  4. Most importantly: Enter one or more additional files/directories/queries.

Based on these use cases, the new GUI should supply the following:

  1. Some sort of list-based results (row for each query)
  2. Upper part with the ability to enter a free query or select/drag files/directories
  3. The rows portion will allow dragging of files/directories
  4. Each row will supply functionalities as: [Cancel, Change, Manual etc...]
  5. A progress bar that will show us where are we in the flow of selecting a version
  6. Some sort of notification mechanism, that will notify the user that we need his help in selecting the right version etc...
  • Allow Draging of directories to the programs's window
  • Show full status after running on folders
  • Add Always-On-Top option

Expose subtitle file naming schemes

Allow the user to specify the format for the name of the subtitles.
We should use the same format as python's string format scheme.

*It might be nice to implement the configuration of such thing as dragable objects that can be concatenated.

Remove the AutoUpdate module

It takes too much time to maintain such feature.

Instead, there should be a mechanism for notifying about new versions.

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.