-
Notifications
You must be signed in to change notification settings - Fork 2
Windows
You'll need to install a perl interpreter in your machine. You can find perl for windows here. If you have any problem or issue when installing perl, please report them to provider.
It's probable that you may need to install some perl libraries. The perl libraries that you need to install are:
- LWP
All the other required modules are provided in the core.
#Installation
- Copy the subdl.pl file to any folder you want.
- Create a text file and give it the name "upload_subtitles.bat"
- Edit the file you just create and add the following content:
dir /b /s "%CD%*.srt" | perl -e "print 'perl <CHANGE_THIS>\subdb.pl'; while(<>){chomp; print '"'.$_.'" '; }" > upload_subtitles_temp.bat
%CD%\upload_subtitles_temp.bat
del %CD%\upload_subtitles_temp.bat
Change the tag <CHANGE_THIS> to the folder where you put the subdl.pl file (step 1)
- Create a text file and give it the name "download_subtitles.bat"
- Edit the file you just create and add the following content:
dir /b /s "%CD%*.avi" | perl -e "print 'perl <CHANGE_THIS>\subdb.pl'; while(<>){chomp; print '"'.$_.'" '; }" > download_subtitles_temp.bat
%CD%\download_subtitles_temp.bat
del %CD%\download_subtitles_temp.bat
Change the tag <CHANGE_THIS> to the folder where you put the subdl.pl file (step 1)
-
Put the download_subtitles.bat and the upload_subtitles.bat files in the path on the environment variables.
-
Now everytime you want to upload a srt file or download a subtitle for your avi file, just right click + Shift key and choose "Open Command Window Here". Now you can run the commands download_subtitles.bat or upload_subtitles.bat
I don't have a windows machine at home, so this instruction probably it will not be 100% right. For any question/complain just e-mail me or edit this wiki. ;-)