Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage
Commits
78c30a90
Commit
78c30a90
authored
Apr 25, 2015
by
Thraxis
Browse files
Options
Downloads
Patches
Plain Diff
FIX#1406 - Plex Notifier change ERROR to WARNING
parent
057137c4
Branches
Branches containing commit
Tags
build-486
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sickbeard/notifiers/plex.py
+3
-3
3 additions, 3 deletions
sickbeard/notifiers/plex.py
with
3 additions
and
3 deletions
sickbeard/notifiers/plex.py
+
3
−
3
View file @
78c30a90
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment