emericg / OpenSubtitlesDownload

Automatically find and download the right subtitles for your favorite videos!
https://emeric.io/OpenSubtitlesDownload
GNU General Public License v3.0
588 stars 64 forks source link

Fix the automatic gui detection + introduce argparse for argument parsin... #7

Closed Gui13 closed 10 years ago

Gui13 commented 10 years ago

...g

I fixed the GUI detection, which was matching GNOME all the time. Also, I used argparse to allow the user to specify the language, gui, verbose and selection mode. Note that this makes the version for the terminal unable to handle more than one file at a time. The fix for this would be to loop the main() for each file in the args, but for now, it fits my usage so I don't mind. Next time maybe

Gui13 commented 10 years ago

This fixes the https://github.com/emericg/opensubtitles-download/issues/6