abbi031892 / periscope

Automatically exported from code.google.com/p/periscope
0 stars 0 forks source link

Make it scripting friendly #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Return non-zero error code, if 0 subtitles downloaded. Return zero, if more 
than 0 subs downloaded.

Add verbosity levels to the output so, that user can choose how much 
information he wants to see in output. At least --quiet option or something, 
that will only show errors and warnings.

Currently, one need to parse output in order to understand result. These 
improvements will greatly help with shell scripting. Thanks!

Original issue reported on code.google.com by civman...@gmail.com on 19 Aug 2010 at 1:39

GoogleCodeExporter commented 8 years ago
In SVN:

Added a --quiet option that only shows WARN and ERROR.
A non-video file as input is now an INFO and not an ERROR
The summary at the end becomes a WARN in order to be shown in quiet mode

When no subs are found, exits with 1

If you have more suggestions, feel free to reopen the bug

Original comment by patrick....@gmail.com on 24 Aug 2010 at 4:44