Comments (7)
Quick fix until clinton-hall updates, change line 89 of autoProcessTV.py
from
if nzbName = "Manual Run" and watch_dir == "":
to
if nzbName == "Manual Run" and watch_dir == "":
It's just a missing = in the test.
from nzbtomedia.
cheers Smenus... and this is why this is still in dev ;)
from nzbtomedia.
@ digitalface
Try again, this should now be working in dev branch... Should never have been a problem in master.
from nzbtomedia.
thank you guys, ive tried that and the script now gets past that part and we're nearly done, however one more issue, the script doesnt seem to be passing a SickBeard username/password. If you check the URL there's no username/pword appended to it, my autoProcessTV.cfg is as:
[SickBeard]
host=localhost
port=8081
username=root
password=sickbeard
web_root=
ssl=1
watch_dir=
failed_fork=0
Script goes:
info Tue Jan 29 2013 03:56:13 Post-Process:
info Tue Jan 29 2013 03:56:13 Post-Process: Error 401 Unauthorized: You need to provide a valid username and password.
info Tue Jan 29 2013 03:56:13 Post-Process:
info Tue Jan 29 2013 03:56:13 Post-Process:
info Tue Jan 29 2013 03:56:13 Post-Process:
info Tue Jan 29 2013 03:56:13 Post-Process: <title>Access denied</title>
info Tue Jan 29 2013 03:56:13 Post-Process:
info Tue Jan 29 2013 03:56:13 Post-Process:
info Tue Jan 29 2013 03:56:13 Post-Process: Opening URL: https://localhost:8081/home/postprocess/processEpisode?nzbName=EPISODENAMEb&quiet=1&dir=%2Fshare%2FDownload%2FNZBGet%2FComplete%2FSickBeard%2F
info Tue Jan 29 2013 03:56:13 Post-Process: The download succeeded. Sending process request to SickBeard
info Tue Jan 29 2013 03:56:13 Post-Process: Loading config from /share/Apps/NZBget/scripts/autoProcessTV.cfg
info Tue Jan 29 2013 03:56:13 Post-Process: Script triggered from NZBGet, starting autoProcessTV...
info Tue Jan 29 2013 03:56:13 Post-Process: nzbToSickBeard V4.0
info Tue Jan 29 2013 03:56:11 Post-Process: Running SickBeard's postprocessing script
info Tue Jan 29 2013 03:55:36 Post-Process: Moving TV shows to /share/Download/NZBGet/Complete/SickBeard/
info Tue Jan 29 2013 03:55:36 Post-Process: Cleaning up
info Tue Jan 29 2013 03:55:36 Post-Process: Post-process script successfully started
from nzbtomedia.
The script doesn't embed the username and password into the url, it actually authenticates the connection (with username and password) before passing the url itself...
This is the default behaviour of the original sabToSickbeard script and I haven't changed this part...
To confirm here, the user name and password should be the same as the username and password you use to connect to sickbeard web interface. These will be configured in SickBeard general settings...
So, you would normally connect to sickbeard at https://localhost:8081 and then enter the user name and password as you have entered them in the .cfg file?
from nzbtomedia.
Hi,
thanks for your reply. Interesting to know about the password being passed before the URL. So, even though I didn't show it in the cfg above my default password actually contained two '@' characters at the end i.e. sickbeard@@ , so I changed this to sickbeard88 (both on sickbeard and the config) and the script worked perfectly.
So perhaps it has an issue with passing special characters?
from nzbtomedia.
Ah... Must be... I'll try and look into it, but as stated, I borrowed that part of the code
from nzbtomedia.
Related Issues (20)
- Post Processing Issues With Sonarr 2.0.0.5344 HOT 2
- Issue with post-processing scripts - on Sabnzbd+ versions 3.7.0.0 - 3.7.2.0 HOT 2
- deadsnakes branch does not list the extension scripts in NZBGet HOT 3
- nzbToSickBeard failing to run HOT 3
- Multiple Categories, Sonarr and NzbGet HOT 9
- [Custom] - remove_group doesn't work HOT 12
- Error with script issue
- mportError: cannot import name 'permissions' from partially initialized module 'core' (most likely due to a circular import) (/nzbToMedia/core/__init__.py) HOT 1
- Error with Addic7ed subtitle HOT 4
- binhex SABnzbd nzbtomedia script errors - how to get the latest version of your script? HOT 5
- KeyError: (3, 12) HOT 1
- nzbget 23 not supported HOT 10
- Updated to Python 3.12.2 on the Mac and now erroring out in EOL? HOT 2
- ImportError: cannot import name 'six' from 'pkg_resources.extern' (C:\Scripts\nzbToMedia\libs\common\pkg_resources\extern\__init__.py) HOT 4
- NZBtoMedia via SABnzbd fails to post-process Radarr download HOT 13
- Radarr fails when processing DownloadMoviesScan results HOT 1
- sickbeard:tv could not create a fork object for sickgear-api. probaly class not added yet. HOT 1
- NzbToMedia from a kubernetes pod (truenas) HOT 1
- Gotta close em all HOT 1
- nzbToSickbeard.py results in KeyError: (3, 11) (from eol.py) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nzbtomedia.