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)



- tvdb-scott - 2010-06-23

Back up. We're on microwave until tomorrow due to fiber being cut, though.


- mchrisb03 - 2010-06-23

midgetspy Wrote:mchrisb03: yeah that was the problem, it should be fixed now.

That fixed it. Thanks.

I just sent in a donation as well.

Keep up the great work!


- Pr.Sinister - 2010-06-25

sofakng Wrote:Show name has been changed to protect the innocent Smile

You forget we are a bunch of smart asses here.

$10 it's Pawn Stars... Big Grin


Increasing the time before a show goes to Wanted status... - Pr.Sinister - 2010-06-25

I am not sure but it seems right now that a show that airs today will go to wanted
status at midnight. That means SickBeard won't look for it until the next Backlog...

Could this be changed to something like 6am the next day? Or maybe have it be
optional and we decide how long before SickBeard switches it to Wanted?

I really liked the "Missed" status... especially in the Coming Episodes tab cause
you could see what wasn't released or you could investigate why Sick Beard
didn't download it. Now, i go to the NZB sites and see an episode there, go to
XBMC to watch it and realize i don't have it. I check Sick Beard and i see i even
have 2 episodes of that show in Wanted status. Click the search besides each
and they are found.

-Pr.


Problem with Single Show Update on Malformed Response... - Pr.Sinister - 2010-06-25

Like in my previous post, i noticed a new episode of SYTYCD on NZBMatrix yet
it wasn't in my recently added shows on XBMC.

Went to Coming Episodes and it only shows me what will air Friday.

Go directly to the SYTYCD Show page and i see tonight's episode is wanted and
the one from the day before is also wanted.

Searched both of them and they were found.

Problem is, only the 1st episode got scanned properly. I have been noticing that
about 1 out of 3 times, the new episode doesn't show up in recently added, and
it seems to only happen on the bedroom XBMC.

Looking at the log, when Sick Beard asks XBMC where the show resides, the
living room XBMC gives the proper response but the bedroom one adds
<record></record> to the response and Sick Beard doesn't know how to
parse it.

I seem to recall this happening with XBMC Remote on the iPhone and the command

http://xbmcmachine/xbmcCmds/xbmcHttp?command=SetResponseFormat()

Would fix it... But i think it needs to be sent BEFORE any query...

Here is the log...
Quote:Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Creating metadata for myself (7x9)
Jun-25 00:41:14 INFO CP Server Thread-8 :: Writing nfo to O:\TV Shows\So You Think You Can Dance\Season 7\So You Think You Can Dance - 7x09 - 1 of 10 Voted Off - 720p TV.nfo
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: 78956: Saving episode details to database
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: STATUS IS 404
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: sickbeard.db: UPDATE tv_episodes SET status = ?, tvdbid = ?, airdate = ?, location = ?, description = ?, hasnfo = ?, hastbn = ?, name = ? WHERE season = ? AND showid = ? AND episode = ? with args [404, u'2377591', 733947, u'O:\\TV Shows\\So You Think You Can Dance\\Season 7\\So You Think You Can Dance - 7x09 - 1 of 10 Voted Off - 720p TV.mkv', '', True, False, u'1 of 10 Voted Off', 7, 78956, 9]
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: 78956: Saving episode details to database
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: STATUS IS 404
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: sickbeard.db: UPDATE tv_episodes SET status = ?, tvdbid = ?, airdate = ?, location = ?, description = ?, hasnfo = ?, hastbn = ?, name = ? WHERE season = ? AND showid = ? AND episode = ? with args [404, u'2377591', 733947, u'O:\\TV Shows\\So You Think You Can Dance\\Season 7\\So You Think You Can Dance - 7x09 - 1 of 10 Voted Off - 720p TV.mkv', '', True, False, u'1 of 10 Voted Off', 7, 78956, 9]
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Updating library in XBMC
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Encoded command is command=SetResponseFormat%28webheader%3Bfalse%3Bwebfooter%3Bfalse%3Bheader%3B%3Cxml%3E%3Bfooter%3B%3C%2Fxml%3E%3Bopentag%3B%3Ctag%3E%3Bclosetag%3B%3C%2Ftag%3E%3Bclosefinaltag%3Bfalse%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Adding Password to XBMC url
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Contacting XBMC via url: http://cns-bedroom:80/xbmcCmds/xbmcHttp/?command=SetResponseFormat%28webheader%3Bfalse%3Bwebfooter%3Bfalse%3Bheader%3B%3Cxml%3E%3Bfooter%3B%3C%2Fxml%3E%3Bopentag%3B%3Ctag%3E%3Bclosetag%3B%3C%2Ftag%3E%3Bclosefinaltag%3Bfalse%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: response: <xml><tag>OK</xml>
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Encoded command is command=QueryVideoDatabase%28select+path.strPath+from+path%2C+tvshow%2C+tvshowlinkpath+where+++++++++++++tvshow.c00+%3D+%22So+You+Think+You+Can+Dance%22+and+tvshowlinkpath.idShow+%3D+tvshow.idShow+++++++++++++and+tvshowlinkpath.idPath+%3D+path.idPath%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Adding Password to XBMC url
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Contacting XBMC via url: http://cns-bedroom:80/xbmcCmds/xbmcHttp/?command=QueryVideoDatabase%28select+path.strPath+from+path%2C+tvshow%2C+tvshowlinkpath+where+++++++++++++tvshow.c00+%3D+%22So+You+Think+You+Can+Dance%22+and+tvshowlinkpath.idShow+%3D+tvshow.idShow+++++++++++++and+tvshowlinkpath.idPath+%3D+path.idPath%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: response: <xml><record><field>smb://CNS-FILESERVER/TV Shows 05/So You Think You Can Dance/</field></record></xml>
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Encoded command is command=SetResponseFormat%28%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Adding Password to XBMC url
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Contacting XBMC via url: http://cns-bedroom:80/xbmcCmds/xbmcHttp/?command=SetResponseFormat%28%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: response: <html>
<li>OK
</html>

Jun-25 00:41:14 DEBUG CP Server Thread-8 :: No valid paths found for So You Think You Can Dance on cns-bedroom:80
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Updating library in XBMC
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Encoded command is command=SetResponseFormat%28webheader%3Bfalse%3Bwebfooter%3Bfalse%3Bheader%3B%3Cxml%3E%3Bfooter%3B%3C%2Fxml%3E%3Bopentag%3B%3Ctag%3E%3Bclosetag%3B%3C%2Ftag%3E%3Bclosefinaltag%3Bfalse%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Adding Password to XBMC url
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Contacting XBMC via url: http://cns-livingroom:80/xbmcCmds/xbmcHttp/?command=SetResponseFormat%28webheader%3Bfalse%3Bwebfooter%3Bfalse%3Bheader%3B%3Cxml%3E%3Bfooter%3B%3C%2Fxml%3E%3Bopentag%3B%3Ctag%3E%3Bclosetag%3B%3C%2Ftag%3E%3Bclosefinaltag%3Bfalse%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: response: <xml><tag>OK</xml>
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Encoded command is command=QueryVideoDatabase%28select+path.strPath+from+path%2C+tvshow%2C+tvshowlinkpath+where+++++++++++++tvshow.c00+%3D+%22So+You+Think+You+Can+Dance%22+and+tvshowlinkpath.idShow+%3D+tvshow.idShow+++++++++++++and+tvshowlinkpath.idPath+%3D+path.idPath%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Adding Password to XBMC url
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Contacting XBMC via url: http://cns-livingroom:80/xbmcCmds/xbmcHttp/?command=QueryVideoDatabase%28select+path.strPath+from+path%2C+tvshow%2C+tvshowlinkpath+where+++++++++++++tvshow.c00+%3D+%22So+You+Think+You+Can+Dance%22+and+tvshowlinkpath.idShow+%3D+tvshow.idShow+++++++++++++and+tvshowlinkpath.idPath+%3D+path.idPath%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: response: <xml><field>smb://CNS-FILESERVER/TV Shows 05/So You Think You Can Dance/</field></xml>
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Encoded command is command=SetResponseFormat%28%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Adding Password to XBMC url
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Contacting XBMC via url: http://cns-livingroom:80/xbmcCmds/xbmcHttp/?command=SetResponseFormat%28%29
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: response: <html>
<li>OK
</html>

Jun-25 00:41:14 DEBUG CP Server Thread-8 :: XBMC Updating So You Think You Can Dance on cns-livingroom:80 at smb://CNS-FILESERVER/TV Shows 05/So You Think You Can Dance/
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Encoded command is parameter=XBMC.updatelibrary%28video%2C+smb%3A%2F%2FCNS-FILESERVER%2FTV+Shows+05%2FSo+You+Think+You+Can+Dance%2F%29&command=ExecBuiltIn
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Adding Password to XBMC url
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Contacting XBMC via url: http://cns-livingroom:80/xbmcCmds/xbmcHttp/?parameter=XBMC.updatelibrary%28video%2C+smb%3A%2F%2FCNS-FILESERVER%2FTV+Shows+05%2FSo+You+Think+You+Can+Dance%2F%29&command=ExecBuiltIn
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: response: <html>
<li>OK
</html>

Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Post processing finished successfully
Jun-25 00:41:14 DEBUG CP Server Thread-8 :: Deleting folder E:\Downloads\~TV\So.You.Think.You.Can.Dance.S07E09.720p.HDTV.x264-ORENJI
Jun-25 00:41:14 INFO CP Server Thread-8 :: Processing succeeded for E:\Downloads\~TV\So.You.Think.You.Can.Dance.S07E09.720p.HDTV.x264-ORENJI\so.you.think.you.can.dance.s07e09.720p.hdtv.x264-orenji.mkv



- mattressfish - 2010-06-25

Holey moley! I have a scheduled task to update the SB source at midnight every night. I think something went crazy. It downloaded a TON of episodes that I already had. I'm at work now, so no logs, but thought I'd give a heads up. Anyone else updated the source since yesterday see any problems?


Bug - Pr.Sinister - 2010-06-25

So, at 3:30am, i added 5 shows that had no created folders yet (like i usually do)...

Somehow, they are all stuck at the loading stage... Checking the log, i noticed it
was doing the daily show refresh so i decided to wait and just go to bed.

This morning, it is still stuck (and still doing the refresh right now)....

Image

Checking the log again, i saw Sick Beard asking me to post a bug so i am doing it!

Code:
Jun-25 07:06:34 DEBUG    SEARCH :: Adding item from RSS to cache: Rookie.Blue.S01E01.720p.HDTV.x264-CTU
Jun-25 07:06:34 DEBUG    SEARCH :: sickbeard.db: SELECT * FROM tv_shows WHERE show_name LIKE ? OR tvr_name LIKE ? with args ['Rookie Blue%', 'Rookie Blue%']
Jun-25 07:06:34 DEBUG    SEARCH :: Rookie Blue was found to be show Rookie Blue (157631) in our DB.
Jun-25 07:06:34 ERROR    SEARCH :: This should never have happened, post a bug about this!
Jun-25 07:06:34 ERROR    SEARCH :: Error while searching NZBMatrix, skipping: BAD STUFF HAPPENED
Jun-25 07:06:34 DEBUG    SEARCH :: Traceback (most recent call last):
  File "C:\SickBeard\sickbeard\search.py", line 125, in searchForNeededEpisodes
    curFoundResults = curProvider.searchRSS()
  File "C:\SickBeard\sickbeard\providers\nzbmatrix.py", line 64, in searchRSS
    myCache.updateCache()
  File "C:\SickBeard\sickbeard\providers\nzbmatrix.py", line 327, in updateCache
    self._addCacheEntry(title, url)
  File "C:\SickBeard\sickbeard\tvcache.py", line 151, in _addCacheEntry
    raise Exception("BAD STUFF HAPPENED")
Exception: BAD STUFF HAPPENED



- Pr.Sinister - 2010-06-25

Ok so after the daily refresh, it loaded the shows.


- mattressfish - 2010-06-25

Mine is still downloading shows that its already downloaded and I'm stuck at work and can't stop it. LOL


- kricker - 2010-06-25

mattressfish Wrote:Mine is still downloading shows that its already downloaded and I'm stuck at work and can't stop it. LOL
Whaaaaa? You don't have it setup to login and admin from afar. For shame. Wink


- mattressfish - 2010-06-25

kricker Wrote:Whaaaaa? You don't have it setup to login and admin from afar. For shame. Wink

I know, I know. And its running on a Windows Home Server, so it would be SUPER easy to set that up. Alas, I'm lazy and haven't done it. LOL


- Pr.Sinister - 2010-06-25

mattressfish Wrote:Mine is still downloading shows that its already downloaded and I'm stuck at work and can't stop it. LOL

Could it be that some shows are set to custom and to re-download better
versions?

I woke up last week and same thing happened to me where it was downloading
season 1 of Lost but it turns out it was downloading better quality episodes...


- mattressfish - 2010-06-25

Actually it looks like it started to download older shows, but not stuff I wanted it to. None of this stuff was marked as 'wanted'.


- midgetspy - 2010-06-25

mattressfish Wrote:Actually it looks like it started to download older shows, but not stuff I wanted it to. None of this stuff was marked as 'wanted'.

Logs, always logs. Find a log of it downloading an NZB that you didn't want and I will look.


- mattressfish - 2010-06-26

midgetspy Wrote:Logs, always logs. Find a log of it downloading an NZB that you didn't want and I will look.

Sorry, I had just gotten home to see what the deal was and grabbed a beer. Big Grin

http://pastebin.com/eKABNsG0

I hope that's enough. Looks like it was downloading HDTV stuff after I already have the 720p. And I would have synced with source around 00:00EST, if that helps.