Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CouchPotatoServer
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
CouchPotatoServer
Commits
a60e9dc4
Commit
a60e9dc4
authored
Jan 25, 2013
by
Ruud
Browse files
Options
Downloads
Patches
Plain Diff
Encode nzbname before sending it to NZBGet. fix #1321
parent
b168c136
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
couchpotato/core/downloaders/nzbget/main.py
+2
-1
2 additions, 1 deletion
couchpotato/core/downloaders/nzbget/main.py
with
2 additions
and
1 deletion
couchpotato/core/downloaders/nzbget/main.py
+
2
−
1
View file @
a60e9dc4
from
base64
import
standard_b64encode
from
base64
import
standard_b64encode
from
couchpotato.core.downloaders.base
import
Downloader
from
couchpotato.core.downloaders.base
import
Downloader
from
couchpotato.core.helpers.encoding
import
ss
from
couchpotato.core.helpers.variable
import
tryInt
from
couchpotato.core.helpers.variable
import
tryInt
from
couchpotato.core.logger
import
CPLog
from
couchpotato.core.logger
import
CPLog
import
re
import
re
...
@@ -24,7 +25,7 @@ class NZBGet(Downloader):
...
@@ -24,7 +25,7 @@ class NZBGet(Downloader):
log
.
info
(
'
Sending
"
%s
"
to NZBGet.
'
,
data
.
get
(
'
name
'
))
log
.
info
(
'
Sending
"
%s
"
to NZBGet.
'
,
data
.
get
(
'
name
'
))
url
=
self
.
url
%
{
'
host
'
:
self
.
conf
(
'
host
'
),
'
password
'
:
self
.
conf
(
'
password
'
)}
url
=
self
.
url
%
{
'
host
'
:
self
.
conf
(
'
host
'
),
'
password
'
:
self
.
conf
(
'
password
'
)}
nzb_name
=
'
%s.nzb
'
%
self
.
createNzbName
(
data
,
movie
)
nzb_name
=
ss
(
'
%s.nzb
'
%
self
.
createNzbName
(
data
,
movie
)
)
rpc
=
xmlrpclib
.
ServerProxy
(
url
)
rpc
=
xmlrpclib
.
ServerProxy
(
url
)
try
:
try
:
...
...
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