Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Got a program that plays well with SABnzbd? Share it here!
Zypher82
Newbie
Newbie
Posts: 26
Joined: April 6th, 2010, 5:03 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by Zypher82 »

What does this mean:

Code: Select all

14:18:35 ERROR::POSTPROCESSER :: You're trying to post process an episode that's already been moved to its show dir
slain
Newbie
Newbie
Posts: 1
Joined: April 22nd, 2010, 2:53 am

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by slain »

Thanks for this, Sick Beard has been great for me on the whole.  The only thing is, after setting it up, rebooting and then re-running the script, I get this:


None of my added shows then show up, even though they're there in Sick Beards database.  The structure of my TV directory has not been changed at all during this time.

Code: Select all

slain@heima:~/Apps/Sick-Beard$ python --version
Python 2.6.4
slain@heima:~/Apps/Sick-Beard$ uname -a
Linux heima 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
slain@heima:~/Apps/Sick-Beard$ lsb_release -a
LSB Version:	core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 9.10
Release:	9.10
Codename:	karmic
Any ideas what could be going wrong?

Thanks.
Last edited by inpheaux on April 26th, 2010, 11:24 am, edited 1 time in total.
drewbrees
Newbie
Newbie
Posts: 5
Joined: April 21st, 2010, 4:32 am

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by drewbrees »

It would be great if there was an "archived" status, so you cold set episodes you've archived to DVD to this status.
dukevim
Newbie
Newbie
Posts: 16
Joined: August 1st, 2009, 9:32 am

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration,

Post by dukevim »

midgetspy wrote: Each show has to be in its own folder, yes. If you just didn't post-process them then you could still have the episodes all sit in your SAB download dir if you want, but each show would have to have its own empty folder to be added.
Thanks Midget, I guess I'm asking for a new feature. Could Sick Beard, rather than failing with this message : 'Location: /TV/Some Series (dir is missing)' - just create the folder and populate it with .nfo etc... automatically.

Thanks.
pven
Release Testers
Release Testers
Posts: 114
Joined: August 21st, 2009, 5:00 am

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by pven »

I am a bit lost. I was able to install sick beard, that is not that difficult. ;)

I have some entries in my backlog. Are they automatically added to SABnzbd or should I force them?

Hmz, since I use sickbeard I get errors in SABnzbd:
ERROR:
[22/Apr/2010:15:26:46]  Traceback (most recent call last):
  File "/opt/share/SABnzbd/cherrypy/_cpwsgi.py", line 79, in setapp
    s, h, b = self.get_response()
  File "/opt/share/SABnzbd/cherrypy/_cpwsgi.py", line 219, in get_response
    response = self.request.run(meth, path, qs, rproto, headers, rfile)
  File "/opt/share/SABnzbd/cherrypy/_cprequest.py", line 579, in run
    raise cherrypy.TimeoutError()
TimeoutError
What is this?  ???
Last edited by pven on April 22nd, 2010, 8:41 am, edited 1 time in total.
midgetspy
Full Member
Full Member
Posts: 243
Joined: February 27th, 2009, 1:10 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by midgetspy »

ramp wrote:is there any way to tell SickBeard to use tvrage over thetvdb site?
Later: http://code.google.com/p/sickbeard/issues/detail?id=250
Homerboy wrote:where do "specials" need to be located for SB to detect them? I haven't seemed to have any luck with them...
in "Season 0" if you're using season folders, or in your main dir if not. Formatted as season 0 episode XX. Also see http://code.google.com/p/sickbeard/issues/detail?id=166
wPatriot wrote:I was wondering if it's really necessary for the episodes to have air dates on TVDB, because obviously this does not imply they are corrupt entries for some reason.
http://code.google.com/p/sickbeard/issues/detail?id=197

This might get fixed in alpha2 when the storm branch merges.
Zypher82 wrote:Does anyone know how to config Sick Beard to file sizes per show? Let's say I want to only grab a file that is between 200-400Mb? That way it doesn't grab a 1.5gb file.
http://code.google.com/p/sickbeard/issues/detail?id=88

Though I can't imagine it would dl a 1.5GB file if it's set to SD?
Testversi wrote: ---
Delete the tvshow.nfo out of the show dir and re-add it and it should ask you unless there's a single result. Some "add show" improvements will be coming in alpha2.

About the double downloads, show me a log of SB downloading the NZBs and sending to SAB please. Also try manually searching an episode and verify that it only got downloaded once and that the setting changes to "Snatched".
grither wrote: Output from user script "sabToSickBeard.exe" (Exit code = 0):
Loading config from e:\Program Files (x86)\SickBeard-win32-alpha-build447\autoProcessTV\autoProcessTV.cfg
Unable to open URL http://localhost:8090/home/postprocess/ ... +264+RANDi
Either your autoProcessTV.cfg settings are wrong or you have a firewall or other networking problems. The error is because the script on the SAB box can't access http://localhost:8090/ (or it can but SB isn't running there).
Zypher82 wrote: What does this mean:

Code: Select all

14:18:35 ERROR::POSTPROCESSER :: You're trying to post process an episode that's already been moved to its show dir
Err, I'm not sure how to say it differently... you've called the post processing script on an episode that has already been moved to the show dir with the other episodes. My guess would be that you have SAB sorting on and are trying to double process it.
slain wrote: None of my added shows then show up, even though they're there in Sick Beards database.  The structure of my TV directory has not been changed at all during this time.
Someone/something has deleted your tvshow.nfo files. They're currently required (http://code.google.com/p/sickbeard/issues/detail?id=184).
dukevim wrote:Could Sick Beard, rather than failing with this message : 'Location: /TV/Some Series (dir is missing)' - just create the folder and populate it with .nfo etc... automatically.
This was asked for once before: http://code.google.com/p/sickbeard/issues/detail?id=136

I decided not to bother, 95% of the time this behavior would NOT be what users would want. It's possible I will add this as a hidden option but not in the near future.
pven wrote: I have some entries in my backlog. Are they automatically added to SABnzbd or should I force them?

Hmz, since I use sickbeard I get errors in SABnzbd:
ERROR:
[22/Apr/2010:15:26:46]  Traceback (most recent call last):
  File "/opt/share/SABnzbd/cherrypy/_cpwsgi.py", line 79, in setapp
    s, h, b = self.get_response()
  File "/opt/share/SABnzbd/cherrypy/_cpwsgi.py", line 219, in get_response
    response = self.request.run(meth, path, qs, rproto, headers, rfile)
  File "/opt/share/SABnzbd/cherrypy/_cprequest.py", line 579, in run
    raise cherrypy.TimeoutError()
TimeoutError
Episodes in your backlog will be searched for once a week. If you don't want to wait you can force the backlog, yes.

I have no idea what that cherrypy error is about but I'm pretty sure it doesn't have anything to do with Sick Beard - SB has its own cherrypy library in its source so it shouldn't affect SAB in any way.
Last edited by inpheaux on April 26th, 2010, 11:25 am, edited 1 time in total.
grither
Newbie
Newbie
Posts: 5
Joined: November 24th, 2009, 12:00 am

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by grither »

drewbrees wrote: Thanks everyone for the help, I've got it working.
Grither - I'm afraid I can't help with your program, but maybe it's a Windows 7 firewall setting?

Does anyone know if it's possible to connect to the various search providers using HTTPS?

it was a firewall problem!  silly me but I didn't realize that since this prog was just post processing that it needed firewall enablement... so i let it pass, and presto, working fine.  thanks for the suggestion
Zypher82
Newbie
Newbie
Posts: 26
Joined: April 6th, 2010, 5:03 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by Zypher82 »

Having an issue with sabToSickBeard.py. I have SAB sorting turned off, I edited the sabToSickBeard.py file to point to the python path on my Synology DiskStation and still no luck. I made sure the file was executable (chmod 777). Any ideas?

Here is the error from Sabnzbd:

Code: Select all

Exit(-1) Cannot run script /var/packages/sickbeard/autoProcessTV/sabToSickBeard.py (More)
Thanks,
Mike
midgetspy
Full Member
Full Member
Posts: 243
Joined: February 27th, 2009, 1:10 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by midgetspy »

Zypher82 wrote: Having an issue with sabToSickBeard.py. I have SAB sorting turned off, I edited the sabToSickBeard.py file to point to the python path on my Synology DiskStation and still no luck. I made sure the file was executable (chmod 777). Any ideas?

Here is the error from Sabnzbd:

Code: Select all

Exit(-1) Cannot run script /var/packages/sickbeard/autoProcessTV/sabToSickBeard.py (More)
Can you run it from the command line?
Zypher82
Newbie
Newbie
Posts: 26
Joined: April 6th, 2010, 5:03 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by Zypher82 »

midgetspy wrote:
Zypher82 wrote: Having an issue with sabToSickBeard.py. I have SAB sorting turned off, I edited the sabToSickBeard.py file to point to the python path on my Synology DiskStation and still no luck. I made sure the file was executable (chmod 777). Any ideas?

Here is the error from Sabnzbd:

Code: Select all

Exit(-1) Cannot run script /var/packages/sickbeard/autoProcessTV/sabToSickBeard.py (More)
Can you run it from the command line?
Yes, it runs fine from the command line
ntlord
Newbie
Newbie
Posts: 2
Joined: May 3rd, 2009, 6:16 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by ntlord »

I am also having a problem with sabToSickBeard.py on OSX wtih 0.5.1rc2:

When it runs I get as an error on the sab history:

Code: Select all

 /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file
I checked from command line it works great. I also checked the sab log and verified that it was running the script at the right path.



NEVERMIND, UPDATE TO 0.5.2 FIXED IT

Thanks,
ntlord
Last edited by ntlord on April 23rd, 2010, 6:56 pm, edited 1 time in total.
Homerboy
Jr. Member
Jr. Member
Posts: 73
Joined: April 25th, 2009, 2:33 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by Homerboy »

am I nuts or is newzbin reporting TV (and movies) again?
ScottAllyn
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2009, 3:40 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by ScottAllyn »

pair of dimes wrote:Edit: got it working, change the first line of sabToSickBeard.py from
#!/usr/bin/python
to something like this (respective of where you installed your sab2 package)
#!/volume2/@appstore/sab2/utils/bin/python

I also added that line to the top of autoProcessTV.py
Tho the next time you update SickBeard, you may lose those changes when the files are overwritten. I created a sym link so that I don't have to remember to update the files each time:

ln -s /var/packages/sab2/target/utils/bin/python /usr/bin/python
Zypher82
Newbie
Newbie
Posts: 26
Joined: April 6th, 2010, 5:03 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by Zypher82 »

ScottAllyn wrote:
pair of dimes wrote:Edit: got it working, change the first line of sabToSickBeard.py from
#!/usr/bin/python
to something like this (respective of where you installed your sab2 package)
#!/volume2/@appstore/sab2/utils/bin/python

I also added that line to the top of autoProcessTV.py
Tho the next time you update SickBeard, you may lose those changes when the files are overwritten. I created a sym link so that I don't have to remember to update the files each time:

ln -s /var/packages/sab2/target/utils/bin/python /usr/bin/python
Still having no luck. I made sure both files were executable and that the python path was correct. Just not having any luck getting this to work.
woutermense
Release Testers
Release Testers
Posts: 4
Joined: April 9th, 2009, 1:41 pm

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Post by woutermense »

Displays the following when I click a show name in the home tab:

Code: Select all

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
  File "/home/sabuser/src/SickBeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/home/sabuser/src/SickBeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/sabuser/src/SickBeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/sabuser/src/SickBeard/sickbeard/webserve.py", line 915, in displayShow
    logger.log(str(showObj.tvdbid) + ": Displaying all episodes from the database")
  File "/home/sabuser/src/SickBeard/sickbeard/logger.py", line 77, in log
    sbLogger.info(outLine)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1030, in info
    self._log(INFO, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1143, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1153, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1190, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    self.emit(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 778, in emit
    self.handleError(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 720, in handleError
    traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)
  File "/usr/lib64/python2.6/traceback.py", line 124, in print_exception
    _print(file, 'Traceback (most recent call last):')
  File "/usr/lib64/python2.6/traceback.py", line 13, in _print
    file.write(str+terminator)
IOError: [Errno 5] Input/output error
This line appears in the logfile:

Code: Select all

Apr-25 11:51:39 INFO     CP Server Thread-4 :: 78912: Displaying all episodes from the database
Last edited by woutermense on April 25th, 2010, 5:05 am, edited 1 time in total.
Post Reply