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

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



- daemox - 2010-12-04

fade23 Wrote:You should be able to create a smart playlist using the Play Count and First Aired fields to accomplish this. The one hangup I find with using Play Count, though, is that if Sickbeard upgrades the quality and the filename changes (say from .avi to .mkv), XBMC will remove the old episode and import a new one, resetting the Play Count to 0 in the process. That's an XBMC Library limitation more than a Sickbeard issue, but it would be nice if Sickbeard could just update the XBMC database directly when changing filenames like that, rather than requiring a Library update. Wouldn't be too hard to do especially with the MySQL database option.

http://sickbeard.com/forums/posting.php?mode=quote&f=8&p=2465

That's a post reguarding the MySQL support in Sick Beard (feature request). You may want to chime in there and on any subsequent feature requests on their Google Code page.


- daemox - 2010-12-04

RiChaDo Wrote:Love this program & finally got it to work but the thing is after i installed this it seems my shares wont work anymore.

winscp works but my win 7 shares are not working anymore
I use xbmcfreak cd rc1

Maybe I did something wrong but I used the initscript and added it to /etc/ini.d/couchpotato

Hope thats correct or is there a different one i'm missing?!

You may have messed up the script if you copy/pasted it in. Though not sure why that would have affected your smb shares. Can you access them directly from the OS? Have you set them up to auto-mount in fstab? This doesn't sound like an Sick Beard issue, but a system configuration one.


- daemox - 2010-12-04

Smobbo Wrote:I think i'm doing something wrong (probably)...

I have set SB to work with both SABnzbd+ and torrents (through uTorrent).
If i download a torrent to the desired folder it gets picked up by uTorrent.
If i download a .nzb-file to the desired folder it gets picked up by SABnzdb+.

However if i do a search in SB it comes up empty on the results, the searches are to specific.

For example the results after pressing the search button in the show 'The Mentalist' for the episode 'Red Moon', which is S03E09

Code:
Dec-02 18:57:32 INFO     CP Server Thread-4 :: No downloads were found
Dec-02 18:57:32 INFO     CP Server Thread-4 :: Searching Bin-Req for The.Mentalist.S03E09
Dec-02 18:57:32 INFO     CP Server Thread-4 :: Searching Womble's Index for The.Mentalist.S03E09
Dec-02 18:57:18 INFO     CP Server Thread-4 :: Searching EZTV for The.Mentalist.S03E09
Dec-02 18:57:18 INFO     CP Server Thread-4 :: Searching EZTV@BT-Chat for The.Mentalist.S03E09
Dec-02 18:57:18 INFO     CP Server Thread-4 :: Searching NZBs'R'US for The.Mentalist.S03E09
Dec-02 18:57:18 INFO     CP Server Thread-4 :: Searching for The.Mentalist.S03E09
Dec-02 18:57:18 INFO     CP Server Thread-4 :: Searching for download for The.Mentalist.S03E09

What did i do wrong (which setting to change Wink)...?

Any help is much appriciated, since the idea of this program working is simply brilliant Big Grin!

Make sure what you're searching for is available from your search providers in the quality that you have configured Sick Beard to look for. Also some search providers only work for new stuff not old stuff.

If none of that fixes what you're asking about hit up the Sick Beard forum and provide some more details if you would such as configuration.

Best of luck!
daemox


- daemox - 2010-12-04

steve1977 Wrote:Facing another issue, which may be a bug. SB just went through my backlog and some episodes were snatched several times. I am taking the info from the "history". See below. TVSHOW is exactly the same show with same spelling:

2010-12-04 01:57:29 TVSHOW - 3x01 Snatched HD TV - nzb.su
2010-12-04 01:57:29 TVSHOW - 3x02 Snatched HD TV - nzb.su
2010-12-04 01:57:23 TVSHOW - 3x01 Snatched HD TV - nzbmatrix
2010-12-04 01:57:23 TVSHOW - 3x02 Snatched HD TV - nzbmatrix
2010-12-04 01:57:17 TVSHOW - 3x01 Snatched HD TV - nzbmatrix
2010-12-04 01:57:17 TVSHOW - 3x02 Snatched HD TV - nzbmatrix
2010-12-04 01:57:11 TVSHOW - 3x01 Snatched HD TV - nzbs.org
2010-12-04 01:57:11 TVSHOW - 3x02 Snatched HD TV - nzsb.org
2010-12-04 00:50:13 TVSHOW - 3x01 Snatched SD TV - nzsb.org
2010-12-04 00:50:13 TVSHOW - 3x02 Snatched SD TV - nzsb.org
2010-12-04 00:50:06 TVSHOW - 3x02 Snatched HD TV - nzsb.org
2010-12-04 00:50:05 TVSHOW - 3x01 Snatched HD TV - nzsb.org


I had the same issue before, which stopped me from using SB. Any chance you can point me to a solution?

If you're continuing to have problems I would visit the Sick Beard forum and post a full bug report (including logs, configurations, and any and all details you can provide).


- huscoolcal - 2010-12-04

I tried using this and worked fine the first time yesterday - am getting the error below on start up. I just double clicked the exe and started that up

Exception in thread HTTPServer Thread-1:
Traceback (most recent call last):
File "threading.pyo", line 525, in __bootstrap_inner
File "threading.pyo", line 477, in run
File "cherrypy\process\servers.pyo", line 75, in _start_http_thread
File "cherrypy\wsgiserver\__init__.pyo", line 1634, in start
error: [Errno 10047] An address incompatible with the requested protocol was used

frm the config file

[General]
log_dir = Logs
web_port = 8081
web_host = 0.0.0.0
web_ipv6 = 1
web_log = 0
web_root = ""

has anyone experienced this?


- ECEC - 2010-12-05

Looks like ipv6 is set to true, and you've specified an ipv4 address. Try changing that 1 to a 0 and see if that works.


- Smobbo - 2010-12-05

midgetspy Wrote:Smobbo: You need to post a debug log.


Here is the Debug log:

Code:
Dec-05 13:00:57 DEBUG    CP Server Thread-9 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,3204,1604,104,804,2,3276802,202,402,3202,1602,102,802,9,3276809,209,409,3209,1609,109,809,6)) AND airdate <= 734111 AND status != 7
Dec-05 13:00:57 DEBUG    CP Server Thread-9 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,3204,1604,104,804,6) AND season != 0 and episode != 0 AND airdate <= 734111
Dec-05 12:59:20 DEBUG    CP Server Thread-8 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,3204,1604,104,804,2,3276802,202,402,3202,1602,102,802,9,3276809,209,409,3209,1609,109,809,6)) AND airdate <= 734111 AND status != 7
Dec-05 12:59:20 DEBUG    CP Server Thread-8 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,3204,1604,104,804,6) AND season != 0 and episode != 0 AND airdate <= 734111
Dec-05 12:59:17 DEBUG    CP Server Thread-7 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,3204,1604,104,804,2,3276802,202,402,3202,1602,102,802,9,3276809,209,409,3209,1609,109,809,6)) AND airdate <= 734111 AND status != 7
Dec-05 12:59:17 DEBUG    CP Server Thread-7 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,3204,1604,104,804,6) AND season != 0 and episode != 0 AND airdate <= 734111
Dec-05 12:59:14 DEBUG    CP Server Thread-7 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,3204,1604,104,804,2,3276802,202,402,3202,1602,102,802,9,3276809,209,409,3209,1609,109,809,6)) AND airdate <= 734111 AND status != 7
Dec-05 12:59:14 DEBUG    CP Server Thread-7 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,3204,1604,104,804,6) AND season != 0 and episode != 0 AND airdate <= 734111
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,3204,1604,104,804,2,3276802,202,402,3202,1602,102,802,9,3276809,209,409,3209,1609,109,809,6)) AND airdate <= 734111 AND status != 7
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,3204,1604,104,804,6) AND season != 0 and episode != 0 AND airdate <= 734111
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? ORDER BY season*1000+episode DESC with args [82459]
Dec-05 12:59:11 INFO     CP Server Thread-6 :: No downloads were found
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: No result picked.
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Picking the best result out of []
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Cache results: []
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT * FROM bin_req WHERE tvdbid = ? AND season = ? AND episodes LIKE ? with args [82459, 3, '|1|']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Last update was too soon, using old cache: today()-2010-12-05 12:56:05<0:15:00
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['bin_req']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['bin_req']
Dec-05 12:59:11 INFO     CP Server Thread-6 :: Searching Bin-Req for The.Mentalist.S03E01
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Cache results: []
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT * FROM womble_s_index WHERE tvdbid = ? AND season = ? AND episodes LIKE ? with args [82459, 3, '|1|']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Last update was too soon, using old cache: today()-2010-12-05 12:55:54<0:15:00
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['womble_s_index']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['womble_s_index']
Dec-05 12:59:11 INFO     CP Server Thread-6 :: Searching Womble's Index for The.Mentalist.S03E01
Dec-05 12:59:11 ERROR    CP Server Thread-6 :: Error loading EZTV URL: (, HTTPError(), ) - HTTP Error 500: Internal Server Error
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Search url: http://rss.bt-chat.com/?group=3&cat=9/api?ep=1&limit=100&t=tvsearch&season=3&rid=18967&maxage=500&cat=5030%2C5040
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Cache results: []
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT * FROM eztv WHERE tvdbid = ? AND season = ? AND episodes LIKE ? with args [82459, 3, '|1|']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Last update was too soon, using old cache: today()-2010-12-05 12:55:54<0:15:00
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['eztv']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['eztv']
Dec-05 12:59:11 INFO     CP Server Thread-6 :: Searching EZTV for The.Mentalist.S03E01
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Cache results: []
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT * FROM eztv_bt_chat WHERE tvdbid = ? AND season = ? AND episodes LIKE ? with args [82459, 3, '|1|']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Last update was too soon, using old cache: today()-2010-12-05 12:55:24<0:15:00
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['eztv_bt_chat']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['eztv_bt_chat']
Dec-05 12:59:11 INFO     CP Server Thread-6 :: Searching EZTV@BT-Chat for The.Mentalist.S03E01
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Cache results: []
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT * FROM nzbs_r_us WHERE tvdbid = ? AND season = ? AND episodes LIKE ? with args [82459, 3, '|1|']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: Last update was too soon, using old cache: today()-2010-12-05 12:55:05<0:15:00
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['nzbs_r_us']
Dec-05 12:59:11 DEBUG    CP Server Thread-6 :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['nzbs_r_us']
Dec-05 12:59:11 INFO     CP Server Thread-6 :: Searching NZBs'R'US for The.Mentalist.S03E01
Dec-05 12:59:11 INFO     CP Server Thread-6 :: Searching for The.Mentalist.S03E01
Dec-05 12:59:11 INFO     CP Server Thread-6 :: Searching for download for The.Mentalist.S03E01

I have an account at NZB'R'US, on that site i can download The.Mentalist.S03E01 (when i search i get 2 hits the HDTV version and the 720p version.
In SB i have selected the initial download quality SD TV (which is the HDTV version, right?).

Does the debug log give any hints as to what i did wrong?

Thanks for any help provided!


@ Daemox, since i can find the series at NZB'R'US, that means that SB should be able to find it aswell, right?


- midgetspy - 2010-12-05

No, NZBs'R'US doesn't support backlog so only currently-airing episodes will be found (as in eps released in the last day or less).


- huscoolcal - 2010-12-06

ECEC Wrote:Looks like ipv6 is set to true, and you've specified an ipv4 address. Try changing that 1 to a 0 and see if that works.

Tht did it - tks much!


- sufreak - 2010-12-06

I've found 2 weird bugs/issues. Maybe its been reported, if so, my apologies.
1-
I've had a couple shows where the episodes are automatically set to skip.
Last night The Cleveland Show had 2 episodes, 1 of which was missed as it was set to skip.

Another show, Batman, the Brave and the Bold, had all future episodes set to skip. I'm going to go through now and check all my shows, it seems like a weird occurrence.

2-
The auto update feature on my Windows system did not work. i had to manually copy all the files over. Just wondering what could have caused taht.


- ECEC - 2010-12-06

After updating recently, I'm getting a LOT of this message in the python window (running on WHS):

Code:
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "C:\Python26\lib\logging\handlers.py", line 71, in emit
    if self.shouldRollover(record):
  File "C:\Python26\lib\logging\handlers.py", line 145, in shouldRollover
    self.stream.seek(0, 2)  #due to non-posix-compliant Windows feature
ValueError: I/O operation on closed file

I'm watching it now, and it just continually scrolls with this message.


- Smobbo - 2010-12-06

midgetspy Wrote:No, NZBs'R'US doesn't support backlog so only currently-airing episodes will be found (as in eps released in the last day or less).

Thanks, that was it (yeah i know, really simple problem...).
Anyhow got it running now and especially NZB.su is the one that allready finds everything i need Smile.

Would love to see the torrent-support expanded, because the older episodes (some more that 1-2 years) are hard to find...


Thanks for the great program! Big Grin


- dannycorker - 2010-12-10

I don't know if this is something very simple I'm overlooking, but worth giving it a shot - when a new episode is downloaded, there is often no plot info etc when it is scraped as it has literally just released. Is there a way to make SB update these episodes when the data is available? I thought 'Force Full Update' might do this but no joy?


- daemox - 2010-12-10

dannycorker Wrote:I don't know if this is something very simple I'm overlooking, but worth giving it a shot - when a new episode is downloaded, there is often no plot info etc when it is scraped as it has literally just released. Is there a way to make SB update these episodes when the data is available? I thought 'Force Full Update' might do this but no joy?

XBMC isn't scraping this for you?


- dannycorker - 2010-12-10

daemox Wrote:XBMC isn't scraping this for you?

No I have SickBeard create an nfo file when it downloads an episode and XBMC reads from that - I like to have nfo's etc for everything.