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)



- midgetspy - 2010-11-04

No the duplicate downloads has nothing to do with new shows - it's a bug that's fixed in source and will come to a Windows build soon.


- mtehonica - 2010-11-04

mtehonica Wrote:Manually updated just now to latest git. Will advise if update works once a commit has been made and it shows that updates are available.

Just tried to use the Update Now link again and it failed with same errors as before.

Nov-04 11:53:12 INFO CP Server Thread-3 :: Output: fatal: 'origin' does not appear to be a git repository
Nov-04 11:53:12 ERROR CP Server Thread-3 :: Didn't find indication of success in output, assuming git pull failed

This is the only thing that shows in the logs when I try to update. There isn't any other output. If a regular git pull works, shouldn't the Update Now link too? Or is there something special we need to do to the directory that SickBeard is running from?


- DrStrange - 2010-11-04

Yes, same as mtehonica, updates still not working using 'update now' (as reported in my post #1785). Have not tried a manual git pull but assume that's working. I run SB as C:\SickBeard\SickBeard.pyw as I run it as a startup item in Windows so I can forget about it! Partial debug log below (can't post full log due to 10000 character limit):
('update now' tried at Nov 04 18:56:13)

Code:
Nov-04 18:58:59 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 <= 734080 AND status != 7
Nov-04 18:58:59 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 <= 734080
Nov-04 18:58:55 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 <= 734080 AND status != 7
Nov-04 18:58:55 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 <= 734080
Nov-04 18:58:52 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 <= 734080 AND status != 7
Nov-04 18:58:52 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 <= 734080
Nov-04 18:56:23 DEBUG    CP Server Thread-5 :: 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 <= 734080 AND status != 7
Nov-04 18:56:23 DEBUG    CP Server Thread-5 :: 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 <= 734080
Nov-04 18:56:16 DEBUG    CP Server Thread-5 :: 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 <= 734080 AND status != 7
Nov-04 18:56:16 DEBUG    CP Server Thread-5 :: 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 <= 734080
Nov-04 18:56:13 DEBUG    CP Server Thread-5 :: 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 <= 734080 AND status != 7
Nov-04 18:56:13 DEBUG    CP Server Thread-5 :: 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 <= 734080
AA
AAfatal: The remote end hung up unexpectedly
Nov-04 18:56:13 INFO     CP Server Thread-5 :: Output: fatal: 'origin' does not appear to be a git repository
Nov-04 18:56:13 ERROR    CP Server Thread-5 :: Didn't find indication of success in output, assuming git pull failed
Nov-04 18:56:10 DEBUG    CP Server Thread-5 :: Executing command: git pull origin master with your shell in C:\SickBeard
Nov-04 18:56:10 DEBUG    CP Server Thread-5 :: After checking, cur_commit = 2a1229540180a3f2fb2bdc4718e54c33bd8bbfd3, newest_commit = 31bbba1b84baa4f4f6180301a1dc13197fd4d8ef, num_commits_behind = 5
Nov-04 18:56:10 DEBUG    CP Server Thread-5 :: newest: 31bbba1b84baa4f4f6180301a1dc13197fd4d8ef and current: 2a1229540180a3f2fb2bdc4718e54c33bd8bbfd3 and num_commits: 5
Nov-04 18:56:08 DEBUG    CP Server Thread-5 :: Executing git show with your shell in C:\SickBeard
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 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 <= 734080 AND status != 7
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 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 <= 734080
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 84676: Found episode 2x13
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [84676, 734080, 84676, 734080, 1, 1]
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 84676: Finding the episode which airs next
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 94971: Found episode 2x1
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [94971, 734080, 94971, 734080, 1, 1]
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 94971: Finding the episode which airs next
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 153021: Found episode 1x2
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [153021, 734080, 153021, 734080, 1, 1]
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 153021: Finding the episode which airs next
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 79708: Found episode 4x9
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [79708, 734080, 79708, 734080, 1, 1]
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 79708: Finding the episode which airs next
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 163531: Found episode 1x7
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [163531, 734080, 163531, 734080, 1, 1]
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 163531: Finding the episode which airs next
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 160671: No episode found... need to implement tvrage and also show status
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [160671, 734080, 160671, 734080, 1, 1]
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 160671: Finding the episode which airs next
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 80379: Found episode 4x7
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [80379, 734080, 80379, 734080, 1, 1]
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 80379: Finding the episode which airs next
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: 164091: No episode found... need to implement tvrage and also show status
Nov-04 18:56:05 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND airdate >= ? AND airdate <= (SELECT airdate FROM tv_episodes WHERE showid = ? AND airdate >= ? AND status = ? ORDER BY airdate ASC LIMIT 1) and status = ? with args [164091, 734080, 164091, 734080, 1, 1]



- mtehonica - 2010-11-04

Here is a debug log from when I try using Update Now: http://pastebin.com/QFYKrKLt


- Dilligaf - 2010-11-04

[quote=DrStrange]Yes, same as mtehonica, updates still not working using 'update now' (as reported in my post #1785). Have not tried a manual git pull but assume that's working. I run SB as C:\SickBeard\SickBeard.pyw as I run it as a startup item in Windows so I can forget about it! /QUOTE]

When you update you will get a new sickbeard.py that your shortcut wont point to, it's better to use something like this in your shortcut rather than renaming sickbeard.py...

C:\Python26\pythonw.exe C:\SickBeard\SickBeard.py

This will run SickBeard with no python window and still let sickbeard.py update. Probably not your problem with self update but definitely a problem.

Mike


- DrStrange - 2010-11-04

@ Mike.
Many thanks for the tip. Was getting tired of stopping sickbeard.pyw and couchpotato.pyw in task manager, then updating, then deleting sickbeard.pyw and couchpotato.pyw, then renaming the new .py to .pyw. Windows wouldn't let me set up a new shortcut with two different programs in it, so told Windows that all files ending in .py should start with pythonw.exe instead of python.exe and shortcut C:\SickBeard\SickBeard.py works fine.


- Vascular - 2010-11-05

I have a problem with some shows who will not download! I can find all the episodes with nzbs.org and newzbin.com.

For example, can anybody get "30 minute meals" from Jamie Oliver to auto download? If i manually search SB it says it can't find anything.

Most of my shows work perfectly except a couple like 30 minute meals.

Love SB, thanks!


- Habskilla - 2010-11-05

I must be blind, where is this update link?


- DrStrange - 2010-11-05

Habskilla Wrote:I must be blind, where is this update link?

SB will show a message 'there is a newer version available (you're ... commits behind) Update Now' only if there are updates available (for the source build. I'm not sure if it displays this message for Windows builds as I only run source builds) . Are you running a source build or a windows build? The last windows build update was 23rd Oct and the last source update was 3rd Nov:

Windows build: http://code.google.com/p/sickbeard/downloads/list
Source build: https://github.com/midgetspy/Sick-Beard > click downloads
Source commit history: https://github.com/midgetspy/Sick-Beard/commits/master


- Dobyken - 2010-11-06

Vascular Wrote:I have a problem with some shows who will not download! I can find all the episodes with nzbs.org and newzbin.com.

For example, can anybody get "30 minute meals" from Jamie Oliver to auto download? If i manually search SB it says it can't find anything.

Most of my shows work perfectly except a couple like 30 minute meals.

Love SB, thanks!

I get 0 results on "30 minute meals" on NZBMatrix so I'm not sure it's a Sickbeard issue. Can you manually download those episodes from sabnzb?
Perhaps those files are on a server that you don't have access to.


- mtehonica - 2010-11-07

mtehonica Wrote:Just tried to use the Update Now link again and it failed with same errors as before.

Nov-04 11:53:12 INFO CP Server Thread-3 :: Output: fatal: 'origin' does not appear to be a git repository
Nov-04 11:53:12 ERROR CP Server Thread-3 :: Didn't find indication of success in output, assuming git pull failed

This is the only thing that shows in the logs when I try to update. There isn't any other output. If a regular git pull works, shouldn't the Update Now link too? Or is there something special we need to do to the directory that SickBeard is running from?

mtehonica Wrote:Here is a debug log from when I try using Update Now: http://pastebin.com/QFYKrKLt

Updated to latest git last night and just tried to use the Update Now again (since it shows 2 commits behind) and still failing, See debug log here: http://pastebin.com/4EZGE20e For some reason I don't think this is 100% a SickBeard problem. It sounds like how ever it is doing the pull, it's not recognizing my SickBeard directory as a valid repo or something. I'm not a git expert so I'm not sure. Anyone have any ideasHuh


- Vascular - 2010-11-07

If you search "30 minute meals" on nzbs.org, nzb.su or newzbin.com you will find all the episodes! So it is a problem within SB.
I have the same problem with the show "Grand Designs". I can find all the episodes with the providers but SB does not find one! Also "Nigella Kitchen" is available on nzbs.org but SB will not find a thing....

So at the moment I have 34 shows in SB. 29 work great but 5 don't.... I also have a problem that from time to time SB will stop finding new air dates. So I have to manually update a show to restart the download process. This is something that does happen pretty often but not with all the shows.

If I can send some logs etc let me know. Would love to help make this program better!


- Vascular - 2010-11-07

Oh my update is also not working, running on ubuntu. I am 9 commits behind. Did a complete fresh git clone yesterday. Update has never worked on my setup.

In the log I get,

Unable to update from git: error: Your local changes to 'SickBeard.py' would be overwritten by merge. Aborting.


- mtehonica - 2010-11-07

Vascular Wrote:If you search "30 minute meals" on nzbs.org, nzb.su or newzbin.com you will find all the episodes! So it is a problem within SB.
I have the same problem with the show "Grand Designs". I can find all the episodes with the providers but SB does not find one! Also "Nigella Kitchen" is available on nzbs.org but SB will not find a thing....

So at the moment I have 34 shows in SB. 29 work great but 5 don't.... I also have a problem that from time to time SB will stop finding new air dates. So I have to manually update a show to restart the download process. This is something that does happen pretty often but not with all the shows.

If I can send some logs etc let me know. Would love to help make this program better!

I just added "Nigella Kitchen" to SB it downloaded them all fine. (Episode Nigella.Kitchen.S01E03.WS.PDTV.XviD-NANO snatched from NZBs.org)

I added "Grand Designs" also and SB seemed to find it fine (Episode Grand.Designs.S10E01.WS.PDTV.XviD-aAF snatched from NZBs.org).

Post an example of what the nzbs.org file name is that it isn't grabbing.


- Vascular - 2010-11-09

mtehonica,

Does SB snatch all the episodes? Grand Designs is at episode s10e08 at the moment. While SB is still searching for s10e05....