midgetspy/Sick-Beard — pull request #410 by itofzo (2012-06-09 15:58:24+00:00)
Title: Fix geturl exceptions

When adding a new show and thetvbd.com times out or isn't available (firewall, bad network connection) the spinning wheel never stops.

This because an exception occurs when trying to open the url.
The open statement wasn't in the try block.
Moved the open inside the try block. Added a few extra exceptions to handle the 'errors'

Also changed the functions using helpers.getURL to handle the None result.

Added logging to the searchTVDBForShowName because it's always asked on the forum what the debug.log says when you can't find show or get spinning wheel.