Private GIT

Skip to content
Snippets Groups Projects
Commit 3b922e70 authored by Fernando's avatar Fernando
Browse files

Merge pull request #1837 from Thraxis/FIX#1406

FIX#1406 - Plex Notifier change ERROR to WARNING
parents b47abd03 78c30a90
Branches
Tags
No related merge requests found
...@@ -57,7 +57,7 @@ class PLEXNotifier: ...@@ -57,7 +57,7 @@ class PLEXNotifier:
password = sickbeard.PLEX_PASSWORD password = sickbeard.PLEX_PASSWORD
if not host: if not host:
logger.log(u'PLEX: No host specified, check your settings', logger.ERROR) logger.log(u'PLEX: No host specified, check your settings', logger.WARNING)
return False return False
for key in command: for key in command:
...@@ -224,7 +224,7 @@ class PLEXNotifier: ...@@ -224,7 +224,7 @@ class PLEXNotifier:
xml_tree = etree.parse(urllib.urlopen(url)) xml_tree = etree.parse(urllib.urlopen(url))
media_container = xml_tree.getroot() media_container = xml_tree.getroot()
except IOError, e: except IOError, e:
logger.log(u'PLEX: Error while trying to contact Plex Media Server: ' + ex(e), logger.ERROR) logger.log(u'PLEX: Error while trying to contact Plex Media Server: ' + ex(e), logger.WARNING)
hosts_failed.append(cur_host) hosts_failed.append(cur_host)
continue continue
...@@ -260,7 +260,7 @@ class PLEXNotifier: ...@@ -260,7 +260,7 @@ class PLEXNotifier:
force and urllib.urlopen(url) force and urllib.urlopen(url)
host_list.append(cur_host) host_list.append(cur_host)
except Exception, e: except Exception, e:
logger.log(u'PLEX: Error updating library section for Plex Media Server: ' + ex(e), logger.ERROR) logger.log(u'PLEX: Error updating library section for Plex Media Server: ' + ex(e), logger.WARNING)
hosts_failed.append(cur_host) hosts_failed.append(cur_host)
if len(hosts_match): if len(hosts_match):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment