Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
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
Sick-Beard
Commits
81e4a6a9
Commit
81e4a6a9
authored
Feb 18, 2012
by
Adam Landry
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
714572de
c37325fb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
autoProcessTV/autoProcessTV.py
+1
-1
1 addition, 1 deletion
autoProcessTV/autoProcessTV.py
sickbeard/notifiers/notifo.py
+1
-1
1 addition, 1 deletion
sickbeard/notifiers/notifo.py
sickbeard/notifiers/xbmc.py
+2
-2
2 additions, 2 deletions
sickbeard/notifiers/xbmc.py
with
4 additions
and
4 deletions
autoProcessTV/autoProcessTV.py
+
1
−
1
View file @
81e4a6a9
...
...
@@ -59,7 +59,7 @@ def processEpisode(dirName, nzbName=None):
password
=
config
.
get
(
"
SickBeard
"
,
"
password
"
)
try
:
ssl
=
int
(
config
.
get
(
"
SickBeard
"
,
"
ssl
"
))
except
ConfigParser
.
NoOptionError
,
ValueError
:
except
(
ConfigParser
.
NoOptionError
,
ValueError
)
:
ssl
=
0
try
:
...
...
This diff is collapsed.
Click to expand it.
sickbeard/notifiers/notifo.py
+
1
−
1
View file @
81e4a6a9
...
...
@@ -42,7 +42,7 @@ class NotifoNotifier:
data
=
urllib
.
urlencode
({
"
title
"
:
title
,
"
label
"
:
label
,
"
msg
"
:
msg
"
msg
"
:
msg
.
encode
(
sickbeard
.
SYS_ENCODING
)
})
try
:
...
...
This diff is collapsed.
Click to expand it.
sickbeard/notifiers/xbmc.py
+
2
−
2
View file @
81e4a6a9
...
...
@@ -103,7 +103,7 @@ class XBMCNotifier:
logger
.
log
(
u
"
Contacting XBMC via url:
"
+
url
,
logger
.
DEBUG
)
handle
=
urllib2
.
urlopen
(
req
)
response
=
handle
.
read
()
response
=
handle
.
read
()
.
decode
(
sickbeard
.
SYS_ENCODING
)
logger
.
log
(
u
"
response:
"
+
response
,
logger
.
DEBUG
)
except
IOError
,
e
:
logger
.
log
(
u
"
Warning: Couldn
'
t contact XBMC HTTP server at
"
+
fixStupidEncodings
(
host
)
+
"
:
"
+
ex
(
e
))
...
...
@@ -191,7 +191,7 @@ class XBMCNotifier:
for
path
in
paths
:
# Don't need it double-encoded, gawd this is dumb
unEncPath
=
urllib
.
unquote
(
path
.
text
)
unEncPath
=
urllib
.
unquote
(
path
.
text
)
.
decode
(
sickbeard
.
SYS_ENCODING
)
logger
.
log
(
u
"
XBMC Updating
"
+
showName
+
"
on
"
+
host
+
"
at
"
+
unEncPath
,
logger
.
DEBUG
)
updateCommand
=
{
'
command
'
:
'
ExecBuiltIn
'
,
'
parameter
'
:
'
XBMC.updatelibrary(video, %s)
'
%
(
unEncPath
)}
request
=
self
.
_sendToXBMC
(
updateCommand
,
host
)
...
...
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