Will exit with exit code 1 if stream cannot be opened. (#785)
Will exit with exit code 1 if stream cannot be opened. (#785)

* Will exit if stream cannot be opened.

* Got rid of for/else, replaced with more verbose/readable boolean version, fixed retry-open, added two console.exits as per review.

* finally block

* fixed log message try number.

* log to logger, fixed try number.

* nevermind, you need the break...

javiercantero/streamlink,melmorabity/streamlink,bastimeyer/streamlink,gravyboat/streamlink,beardypig/streamlink,back-to/streamlink,gravyboat/streamlink,streamlink/streamlink,beardypig/streamlink,melmorabity/streamlink,chhe/streamlink,bastimeyer/streamlink,back-to/streamlink,wlerin/streamlink,chhe/streamlink,streamlink/streamlink,javiercantero/streamlink,wlerin/streamlink