README
May 10, 2015 ยท View on GitHub
This program is licensed as GPL v3.
This program downloads subtitles for your videos from the http://www.thesubdb.com database. You can also upload subtitles to their database.
This program can be integrated with the mpv player. For more instructions on how to achieve it check the mpv.lua file
How to use this program.
Download subtitles:
$ perl subdb.pl
Download subtitles for some specific language:
$ perl subdb.pl --lang pt
or you can define some order in the languages you want:
$ perl subdb.pl --lang pt --lang en --lang fr
To use your own default languages define the variable SUDBB_LANGS. On linux with bash, put this in your .bashrc: export SUBDB_LANGS="en bg" On a windows system please look on the link http://support2.microsoft.com/kb/310519 to know how to define a environment variable
Upload subtitles:
$ perl subdb.pl
Please note that the subtitle file must be in the same folder as the correspondent video file, and it must have the same filename (except for the extension). The subtitles can't be bigger than 200Kbytes, and they must be plain text (only subrip and microdvd subtitles).
Any suggestion please e-mail me.
Best regards, David Santiago demanuel@ymail.com