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

Got a program that plays well with SABnzbd? Share it here!
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 »

Sinnocence: Well probably the easiest way would be to wrap my sabToSickbeard.exe in your own post processing script that does whatever you want after it calls the exe. Alternately you could install python, run the sabToSickbeard.py and modify it yourself to call your script (or rewrite your script in python).

mota: Unless you upgraded from a very old revision with the old-style logging I doubt the Sick Beard revision is the problem. That error isn't even in Sick Beard's code it's in python's built in logging module so I would suspect that it is an OS problem or that something to do with your logging dir has changed. If you revert to the old revision does it work?
Sinnocence
Newbie
Newbie
Posts: 23
Joined: April 6th, 2009, 3:45 am

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

Post by Sinnocence »

midgetspy wrote: Sinnocence: Well probably the easiest way would be to wrap my sabToSickbeard.exe in your own post processing script that does whatever you want after it calls the exe. Alternately you could install python, run the sabToSickbeard.py and modify it yourself to call your script (or rewrite your script in python).
Does SAB provide the ultimate destination location via argument? Based on this I didn't think so. There's no point doing the 'touch' on the pre-copy version of the files as the destination tree will still show the old timestamps :(

On an unrelated note, is it possible to specify the output filename format? Looking at the .py versions of sick I think that the output is always '#x##' - obviously the .exe on windows makes it a little harder to just 'hack' the format. Any chance of making this configurable also?
Last edited by Sinnocence on February 24th, 2010, 1:37 pm, 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 »

No but you could scrape the final location from the sabToSickbeard.exe output when you call it from inside your own script.

And about naming: http://code.google.com/p/sickbeard/issues/detail?id=61
mota
Newbie
Newbie
Posts: 6
Joined: October 9th, 2009, 7:04 am

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

Post by mota »

I upgraded from very old version. Last version working for me is version r239. I can't get Sick Beard with new logging to work.

Best regards

Mota
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 »

mota wrote: I upgraded from very old version. Last version working for me is version r239. I can't get Sick Beard with new logging to work.
Try renaming your config.ini and see if that works (it'll reset the log dir). The error is an OS problem saying that the logger can't write to the output file. Aside from catching it and not crashing out there's not much I can do about it, something about your configuration is preventing python from writing the log files. I will make a new rev in the next few days that at least shouldn't crash (but won't fix whatever the problem is, it just won't log).
Sinnocence
Newbie
Newbie
Posts: 23
Joined: April 6th, 2009, 3:45 am

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

Post by Sinnocence »

Thanks Midget, for your help and for the app.
Arg0t
Newbie
Newbie
Posts: 6
Joined: April 25th, 2009, 10:29 am

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

Post by Arg0t »

Hi, few questions on how sick does the whole backlog and snatched thing.

If I have an episode in the backlog queue and at some point sick has snatched an nzb/post will sick scan for this episode again?
Does sick know if something fails to download in sab?
Does it blacklist a post that fails and omit it from the next backlog scan?

Question comes after a couple of incomplete posts have been downloaded, wondered if sick would go grab the same incomplete post the next time it runs the backlog.
rubbie
Newbie
Newbie
Posts: 4
Joined: March 4th, 2010, 2:39 pm

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

Post by rubbie »

Hi,

I've used your program for a couple of days and i really like it. I've got one problem though. I use nzbs.org as a search provider, when i try to search for a episode i missed i get the following message:

Code: Select all

ERROR    CP Server Thread-3 :: Authentication error: The NZBs.org result URL has no auth info which means your UID/hash are incorrect, check your config
When i copy paste the used url from the logs to my browser and visit the url i can view the RSS feed which contains several search hits. I can view this RSS feed when i'm logged out off the site and cleared my cookies. I have entered the right UID and hash. I know i can use other sites but i like nzbs.org  :)

[edit]

When it searches for episodes which have not yet been aired it does not log the error mentioned above.
Last edited by rubbie on March 4th, 2010, 2:56 pm, 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 »

Arg0t wrote: Hi, few questions on how sick does the whole backlog and snatched thing.

If I have an episode in the backlog queue and at some point sick has snatched an nzb/post will sick scan for this episode again?
Does sick know if something fails to download in sab?
Does it blacklist a post that fails and omit it from the next backlog scan?

Question comes after a couple of incomplete posts have been downloaded, wondered if sick would go grab the same incomplete post the next time it runs the backlog.
Currently it would set it to snatched and if it fails in sab it would just stay as snatched forever, you'd have to set it back to backlog if you want it to try again. It doesn't blacklist the post and try a different one but that's coming later.
rubbie wrote: Hi,

I've used your program for a couple of days and i really like it. I've got one problem though. I use nzbs.org as a search provider, when i try to search for a episode i missed i get the following message:

Code: Select all

ERROR    CP Server Thread-3 :: Authentication error: The NZBs.org result URL has no auth info which means your UID/hash are incorrect, check your config
When i copy paste the used url from the logs to my browser and visit the url i can view the RSS feed which contains several search hits. I can view this RSS feed when i'm logged out off the site and cleared my cookies. I have entered the right UID and hash. I know i can use other sites but i like nzbs.org  :)

[edit]

When it searches for episodes which have not yet been aired it does not log the error mentioned above.
It probably works in your browser because your browser is logged in - any auth or no auth at all would work in your browser when you're logged in. Like the error says, probably your uid/hash are incorrect (uid is not username).
rubbie
Newbie
Newbie
Posts: 4
Joined: March 4th, 2010, 2:39 pm

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

Post by rubbie »

midgetspy wrote:
rubbie wrote: Hi,

I've used your program for a couple of days and i really like it. I've got one problem though. I use nzbs.org as a search provider, when i try to search for a episode i missed i get the following message:

Code: Select all

ERROR    CP Server Thread-3 :: Authentication error: The NZBs.org result URL has no auth info which means your UID/hash are incorrect, check your config
When i copy paste the used url from the logs to my browser and visit the url i can view the RSS feed which contains several search hits. I can view this RSS feed when i'm logged out off the site and cleared my cookies. I have entered the right UID and hash. I know i can use other sites but i like nzbs.org  :)

[edit]

When it searches for episodes which have not yet been aired it does not log the error mentioned above.
It probably works in your browser because your browser is logged in - any auth or no auth at all would work in your browser when you're logged in. Like the error says, probably your uid/hash are incorrect (uid is not username).
Hi, thats why i said my browser was logged out. I even used that URL on a different computer and i could still view the RSS feed, which is the way it is supposed to work because the url to the feed contains the auth info. Thats why its strange to me that SickBeard says it does not have any auth info, and thus does not retrieve the search hits it gets. I have used my numeric ID for UID, and obtained my hash from the cookie file.

It not a big problem but as i said before, i like using nzbs.org.
Cannings
Newbie
Newbie
Posts: 2
Joined: March 5th, 2010, 7:38 am

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

Post by Cannings »

Hey Midget,

Flipping great program tbh, does everything needed I have a couple of errors when trying to click into a couple of shows, the shows are 24 and CSI: Crime Scene Investigation I get these errors respectively

24:

Code: Select all

Traceback (most recent call last):
  File "/home/cannings/Documents/Sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/home/cannings/Documents/Sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/cannings/Documents/Sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/cannings/Documents/Sickbeard/sickbeard/webserve.py", line 840, in displayShow
    return _munge(t)
  File "/home/cannings/Documents/Sickbeard/sickbeard/webserve.py", line 104, in _munge
    return unicode(string).encode('ascii', 'xmlcharrefreplace')
  File "/usr/lib/pymodules/python2.6/Cheetah/Template.py", line 981, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File "_home_cannings_Documents_Sickbeard_data_interfaces_default_displayShow_tmpl.py", line 123, in respond
NotFound: cannot find 'location' while searching for 'show.location'
CSI:

Code: Select all

Traceback (most recent call last):
  File "/home/cannings/Documents/Sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/home/cannings/Documents/Sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/cannings/Documents/Sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/cannings/Documents/Sickbeard/sickbeard/webserve.py", line 800, in displayShow
    showObj = sickbeard.helpers.findCertainShow(sickbeard.showList, int(show))
  File "/home/cannings/Documents/Sickbeard/sickbeard/helpers.py", line 149, in findCertainShow
    raise MultipleShowObjectsException()
MultipleShowObjectsException
All other shows seem to be fine though
daniel_owen_uk
Release Testers
Release Testers
Posts: 126
Joined: January 24th, 2008, 6:43 am

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

Post by daniel_owen_uk »

Could someone convince me to use Sick Beard?

Why is it better than Media Rover?  Is it easier to configure? More accurate?  More features?

Will it look at what I already have (like media rover) or is it just a "new episode" downloader?
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 »

rubbie wrote:
midgetspy wrote:
rubbie wrote: Hi,

I've used your program for a couple of days and i really like it. I've got one problem though. I use nzbs.org as a search provider, when i try to search for a episode i missed i get the following message:

Code: Select all

ERROR    CP Server Thread-3 :: Authentication error: The NZBs.org result URL has no auth info which means your UID/hash are incorrect, check your config
When i copy paste the used url from the logs to my browser and visit the url i can view the RSS feed which contains several search hits. I can view this RSS feed when i'm logged out off the site and cleared my cookies. I have entered the right UID and hash. I know i can use other sites but i like nzbs.org  :)

[edit]

When it searches for episodes which have not yet been aired it does not log the error mentioned above.
It probably works in your browser because your browser is logged in - any auth or no auth at all would work in your browser when you're logged in. Like the error says, probably your uid/hash are incorrect (uid is not username).
Hi, thats why i said my browser was logged out. I even used that URL on a different computer and i could still view the RSS feed, which is the way it is supposed to work because the url to the feed contains the auth info. Thats why its strange to me that SickBeard says it does not have any auth info, and thus does not retrieve the search hits it gets. I have used my numeric ID for UID, and obtained my hash from the cookie file.

It not a big problem but as i said before, i like using nzbs.org.
Hmm sorry, I guess I should read more carefully. The error Sick Beard is giving isn't that it couldn't view the feed but that the results returned don't have any auth info on them. The NZBs.org feed works with no authentication, it's the links to download the NZB files that require authentication. If your auth info is correct then there will be auth info on the NZB download links, so I check that to determine if your auth is correct or not. In your case it sounds like you're using the hash from the cookie rather than the hash given in the RSS help page.

EDIT: Can you send me your DB and tell me the URL that gives you the error?
Last edited by inpheaux on April 26th, 2010, 10:06 am, edited 1 time in total.
al1937
Newbie
Newbie
Posts: 44
Joined: November 25th, 2009, 2:49 am

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

Post by al1937 »

Hi
I am having trouble adding Brothers & Sisters to the Add Shows list.
I keep getting the following error
The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 660, in respond
  File "cherrypy\lib\encoding.pyo", line 193, in __call__
  File "cherrypy\_cpdispatch.pyo", line 25, in __call__
  File "sickbeard\webserve.pyo", line 749, in addShow
  File "lib\tvdb_api\tvdb_api.pyo", line 751, in __getitem__
  File "lib\tvdb_api\tvdb_api.pyo", line 682, in _getShowData
  File "lib\tvdb_api\tvdb_api.pyo", line 473, in _getetsrc
  File "lib\tvdb_api\tvdb_api.pyo", line 465, in _loadUrl
tvdb_error: Could not connect to server: HTTP Error 404: Not Found from http://www.thetvdb.com/api/9DAF49C96CBF ... 741/en.xml

It seems to be picking up the wrong show ID from somewhere as the correct one is 79506.

Help.

Great program I have been using it for quite some time.

al1937
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 »

This is a bug with theTVDB.com that I (well tvdb_api really) am not handling well. I've posted on their forums and hopefully they'll fix it soon.
Post Reply