monsieurvideo / get-flash-videos

Download or play videos from various Flash-based video hosting sites, without having to use the Flash player.
Apache License 2.0
240 stars 68 forks source link

Use zero exit code for "File $self->{printable_filename} has been fully downloaded." #179

Open yuphorian6 opened 8 years ago

yuphorian6 commented 8 years ago

When trying to re-download a file that has already been downloaded, the program gives exit code 1 displaying "File {printable_filename} has been fully downloaded."

When file has been previously downloaded fully, it would be better to give exit code 0.

The exit code 1 is also used by other interruptions like "Destination cannot be reached/resolved." , "No Internet Connectivity." .

In any case, a zero exit code or a unique exit code is needed for files that have been previously fully downloaded. Needed badly to distinguish between network errors and already downloaded file.

Thanks.