Git Product home page Git Product logo

Comments (7)

Smenus avatar Smenus commented on August 10, 2024

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.

clinton-hall avatar clinton-hall commented on August 10, 2024

cheers Smenus... and this is why this is still in dev ;)

from nzbtomedia.

clinton-hall avatar clinton-hall commented on August 10, 2024

@ digitalface

Try again, this should now be working in dev branch... Should never have been a problem in master.

from nzbtomedia.

digitalface avatar digitalface commented on August 10, 2024

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.

clinton-hall avatar clinton-hall commented on August 10, 2024

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.

digitalface avatar digitalface commented on August 10, 2024

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.

clinton-hall avatar clinton-hall commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.