XBMC Community Forum
Sick Beard - Automatic TV Show Episode download/sort/rename, nfo/tbn maker & TV Guide - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (/forumdisplay.php?fid=116)
+--- Thread: Sick Beard - Automatic TV Show Episode download/sort/rename, nfo/tbn maker & TV Guide (/showthread.php?tid=63591)



- Freek - 2011-01-18 18:36

I can't get the latest version to run... worked fine before I pulled the new code but now all I get is:

Code:
Traceback (most recent call last):
  File "./SickBeard.py", line 35, in <module>
    import sickbeard
  File "/home/sickbeard/sickbeard/__init__.py", line 34, in <module>
    from sickbeard import searchCurrent, searchBacklog, showUpdater, versionChecker, properFinder, autoPostProcesser
  File "/home/sickbeard/sickbeard/searchCurrent.py", line 24, in <module>
    from sickbeard import ui
  File "/home/sickbeard/sickbeard/ui.py", line 26, in <module>
    from sickbeard.tv import TVShow
  File "/home/sickbeard/sickbeard/tv.py", line 39, in <module>
    from sickbeard import image_cache
  File "/home/sickbeard/sickbeard/image_cache.py", line 31, in <module>
    from lib.hachoir_metadata import extractMetadata
  File "/home/sickbeard/lib/hachoir_metadata/__init__.py", line 8, in <module>
    import hachoir_metadata.file_system
ImportError: No module named file_system

Any suggestions??

Thanks


- Rannd - 2011-01-18 18:42

Anyone else having problems of alpha build 473 not finding episodes? I use NZB Matrix.. I also verified the episode is out there correctly named but Sick Beard just says it can't find it.


- leigh_munro - 2011-01-18 20:00

Any chance of getting support for to use both banners and posters instead of one or the other.

Eg create both a Banner.jpg and a Folder.jpg

I use poster art most of the time within XBMC but the iphone and android remote look 100x better with the banner artwork,


- thezoggy - 2011-01-18 20:08

leigh_munro Wrote:Any chance of getting support for to use both banners and posters instead of one or the other.

Eg create both a Banner.jpg and a Folder.jpg

I use poster art most of the time within XBMC but the iphone and android remote look 100x better with the banner artwork,

the latest version does both. it d/ls and stores them in /cache/images/tvdbid.banner and tvdbid.poster. just will have to wait 24hrs for it to build the cache or go rescan your files manually to force it to update now.


- thezoggy - 2011-01-18 20:09

mattressfish Wrote:Bounced the box. Same result. Doesn't look like there is anything in the logs either, since SB isn't even starting.

can you update source and try again?


- mattressfish - 2011-01-18 20:28

thezoggy Wrote:can you update source and try again?

Crisis Averted! Thanks, whatever you did fixed it.


btw, minor issue:

Under General Config Wrote:All non-absolute folder locations are relative to " C:\Program Files\SickBeard "

Technically, there should be a trailing slash at the end of this, since the slash isn't required before an actual directory name, like "Logs". FWIW, I know SAB does the same thing. Not that big of a deal, but thought I'd mention it.


- DrStrange - 2011-01-18 20:58

For two shows I get this error in the log:

"ERROR SHOWQUEUE-ADD :: Error with TVDB, not creating episode list: [Errno 9] Bad file descriptor"

and the poster and banner does not display in the coming episodes. If I copy folder.jpg into the cache\images folder and rename it to the show ID number and download the banner from thetvdb.com and also copy/rename it into the cache\images folder, it will display ok.

Is this a problem with the thetvdb api/database or with sickbeard?
(The shows are V (2009) and Californication)


- Smenus - 2011-01-18 22:41

Quick bug report; there's a poster.png in the images folder, but no banner.png. showPoster is looking for it, and when there's no banner to show (as when I just updated and the cache hadn't been done yet), you get a broken image.

Also, quick request; with the latest cache code, where, as zoggy pointed out, it'll cache both a poster and a banner, is it possible to try looking for a banner locally before heading to thetvdb? I have folder.jpg with a poster and banner.jpg with (surprisingly) a banner for every show, and in some cases I much prefer the banner I chose to the first one from thetvdb.

However, I'm loving the direction that SB is heading in, it's getting even better every day! Thanks for all the hard work guys!


- Aenima99x - 2011-01-18 23:10

.


- ECEC - 2011-01-18 23:31

Clear your cache, reload.


- Rannd - 2011-01-19 00:09

How are you guys even getting poster images to load? It doesn't do that for me.

I restarted Sick Beard today and it still won't snatch a episode when I hit force search. Sick Beard pretty much isn't working at all now. (Lovely after I just donated money too, lol)


- thezoggy - 2011-01-19 00:16

Smenus Wrote:Quick bug report; there's a poster.png in the images folder, but no banner.png. showPoster is looking for it, and when there's no banner to show (as when I just updated and the cache hadn't been done yet), you get a broken image.

Also, quick request; with the latest cache code, where, as zoggy pointed out, it'll cache both a poster and a banner, is it possible to try looking for a banner locally before heading to thetvdb? I have folder.jpg with a poster and banner.jpg with (surprisingly) a banner for every show, and in some cases I much prefer the banner I chose to the first one from thetvdb.

However, I'm loving the direction that SB is heading in, it's getting even better every day! Thanks for all the hard work guys!

it's because i havent had a chance to make a dummy poster/banner. so i had midget just use the old poster.png for right now.


- OwlBoy - 2011-01-19 00:19

Wanted to pop this here, just did an update and this is the error I got, trying to relaunch is not working (see below).

Code:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/home/bortbrya/sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/home/bortbrya/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/bortbrya/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/bortbrya/sickbeard/sickbeard/webserve.py", line 1377, in update
  File "/home/bortbrya/sickbeard/sickbeard/webserve.py", line 108, in _genericMessage
    t.subject = subject
  File "/home/bortbrya/sickbeard/sickbeard/webserve.py", line 101, in _munge
  File "/usr/lib/pymodules/python2.6/Cheetah/Template.py", line 981, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File "_home_bortbrya_sickbeard_data_interfaces_default_genericMessage_tmpl.py", line 98, in respond
  File "/usr/lib/pymodules/python2.6/Cheetah/Template.py", line 1529, in _handleCheetahInclude
    self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
  File "cheetah__home_bortbrya_sickbeard_data_interfaces_default_inc_top_tmpl_1295388988​_55_44444.py", line 308, in respond
NotFound: cannot find 'sbPID'
Powered by CherryPy 3.2.0rc1

Sickbeard presented this list of commit differences before I clicked update:

https://github.com/midgetspy/Sick-Beard/compare/1660a1bb9dc579fc88fc367b435d9769c133fdc4...13a44d98abf706c1b42955ec5330b4cc33b1e​0ed

I assume it will be fixed in the source (like the previous issue in this thread) but I thought I would post this anyway.

Edit:
I realized that last error log might not be as useful as this one: (Apologies)
[Image: se95jr.png]
No clue why I could not get copy and paste over vnc to work with my terminal on that box, so here is a screenshot


- thezoggy - 2011-01-19 00:58

OwlBoy Wrote:Wanted to pop this here, just did an update and this is the error I got, trying to relaunch is not working (see below).

Code:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/home/bortbrya/sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/home/bortbrya/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/bortbrya/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/bortbrya/sickbeard/sickbeard/webserve.py", line 1377, in update
  File "/home/bortbrya/sickbeard/sickbeard/webserve.py", line 108, in _genericMessage
    t.subject = subject
  File "/home/bortbrya/sickbeard/sickbeard/webserve.py", line 101, in _munge
  File "/usr/lib/pymodules/python2.6/Cheetah/Template.py", line 981, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File "_home_bortbrya_sickbeard_data_interfaces_default_genericMessage_tmpl.py", line 98, in respond
  File "/usr/lib/pymodules/python2.6/Cheetah/Template.py", line 1529, in _handleCheetahInclude
    self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
  File "cheetah__home_bortbrya_sickbeard_data_interfaces_default_inc_top_tmpl_1295388988​_55_44444.py", line 308, in respond
NotFound: cannot find 'sbPID'
Powered by CherryPy 3.2.0rc1

Sickbeard presented this list of commit differences before I clicked update:

https://github.com/midgetspy/Sick-Beard/compare/1660a1bb9dc579fc88fc367b435d9769c133fdc4...13a44d98abf706c1b42955ec5330b4cc33b1e​0ed

I assume it will be fixed in the source (like the previous issue in this thread) but I thought I would post this anyway.

Edit:
I realized that last error log might not be as useful as this one: (Apologies)
[Image: se95jr.png]
No clue why I could not get copy and paste over vnc to work with my terminal on that box, so here is a screenshot

the sbPID one error is you running outdated code from updating.. aka you didnt restart after updating. the other one has been a common one for those running on a nas box.. looking into it now.


- Gotcha007 - 2011-01-19 01:22

thezoggy Wrote:lots of goodies just pushed out to master branch..
  • new multi-level menu, submenu is still there but mainly for 'actions' not navigation.
  • added new "list view" for the coming ep page.. no metadata or summary.. but very quick and allows you to sort how you want.
  • sickbeard now will build it's own metadata cache (nightly) of your tv shows in both banner and poster format. now you can switch layouts and things will look great in either. note that it will use your existing metadata first and then fill in missing (banner/poster) from the tvdb if it exists. to kick of this process manually rather than waiting 24hrs go to Manage > click on the checkbox for Rescan all items > Submit. Then wait.. takes roughly 30secs per tv show the first time through.
  • new option to use banners.jpg instead of folder.jpg -- config > general.

The template updates might break auto-updates so after updating you might have to restart SB manually.

Sorry to ask that but how do you do the update?
Where can I find it?