#5 patch: fix command-line parsing

pending
nobody
None
5
2012-10-07
2012-04-16
No

The current command-line parsing relies on getting exceptions while run in CLI mode to decide what format and quality to use, but on Mac OS X, unless you run with -Djava.awt.headless=true, it will never NPE, so it always downloads SD quality MPEG. The attached patch changes the code to instead set a boolean to denote whether it's in command-line mode, and additionally converts to using Apache commons-cli for command-line parsing, to simplify the parsing.

Discussion

  • StefanKaerst

    StefanKaerst - 2012-07-13

    thanks .. I'm testing it.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks