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)



- mra6368 - 2010-10-20

I have just downloaded latest version of Sickbeard. Latest program download did not auto post process. The files were sent to the default folder, not to the program folders. Nothing within SabNZB or sickbeard has been changedHuh


- midgetspy - 2010-10-20

ECEC Wrote:No dice. Same problem this morning. Any other ideas?

No clue, I'm pretty sure it's not SB's fault because your git is going crazy and nothing I do should make that happen... I'd try recloning.

WingmanNZ Wrote:HDTV,WEB-DL & Bluray 720p selected as first download and Bluray 720p for the re download. will it get the bluray 720p on the first download if its available and skip the web-dl and HDTV?

HD and SD are single downloads. All they are is presets for the "custom" quality, so if you want to know what they do just select one then change to custom and the preset settings will still be selected and visible. And yes, the best one is always downloaded first if it's available.

bcboncs Wrote:Is there a way to edit the RSS reload intervals? I love the way everything operates but I need my TV fix on Sundays! =)

Yes search interval can be defined in minutes in the config page.

mra6368 Wrote:I have just downloaded latest version of Sickbeard. Latest program download did not auto post process. The files were sent to the default folder, not to the program folders. Nothing within SabNZB or sickbeard has been changedHuh

Not sure what you mean, can you post an example please (and logs if possible)? Nothing has changed in the PP code recently so I dunno what the problem is.


- mra6368 - 2010-10-20

Got this in SAB:

Law.and.Order.SVU.S12E06.720p.HDTV.x264-2HD

Loading config from /Users/mra26/sickbeard/autoProcessTV/autoProcessTV.cfg
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>

<title>404 Not Found</title>

<style type="text/css">

#powered_by {

margin-top: 20px;

border-top: 2px solid black;

font-style: italic;

}



#traceback {

color: red;

}

</style>

</head>

<body>

<h2>404 Not Found</h2>

<p>The path '/home/postprocess/processEpisode' was not found.</p>

<pre id="traceback">Traceback (most recent call last):

File "cherrypy/_cprequest.pyc", line 618, in respond

File "cherrypy/_cperror.pyc", line 233, in __call__

NotFound: (404, "The path '/home/postprocess/processEpisode' was not found.")

</pre>

<div id="powered_by">

<span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0</a></span>

</div>

</body>

</html>


- WingmanNZ - 2010-10-20

midgetspy Wrote:HD and SD are single downloads. All they are is presets for the "custom" quality, so if you want to know what they do just select one then change to custom and the preset settings will still be selected and visible. And yes, the best one is always downloaded first if it's available.

So does this mean i can add my own Custom presets?

for instance "HDTV Then Bluray"
or "HD (Download Bluray When Available)"

If so where would I create these? Or edit the current "HD" and "SD" presets?

EDIT:

I have found where you define Presets, But if i want to create my own one, what valleys do i need to end up with "Download HD TV, WEB-DL or BluRay" Then Re-Download Episode in "BlyRay 720p"

Code:
HD = Quality.combineQualities([Quality.HDTV, Quality.HDWEBDL, Quality.HDBLURAY], [])
SD = Quality.combineQualities([Quality.SDTV, Quality.SDDVD], [])
ANY = Quality.combineQualities([Quality.SDTV, Quality.SDDVD, Quality.HDTV, Quality.HDWEBDL, Quality.HDBLURAY], [])
BEST = Quality.combineQualities([Quality.SDTV, Quality.HDTV], [Quality.SDTV, Quality.HDTV])

qualityPresets = (SD, HD, ANY, BEST)
qualityPresetStrings = {SD: "SD",
                        HD: "HD",
                        ANY: "Any",
                        BEST: "Best"}



(Reason for this is almost all my shows are set to "custom" to download the best HD file first then replace with BluRay 720p went available, SD is the same, SD TV or SD DVD first and replace with SD DVD.)

Thanks.

Also, As you said it downloads the best quality the first time, That would imply if i had bluray,web-dl and hd tv selected as options, it would first look for bluray then web-dl if it was not found, and so on etc.

thanks so much for answering all my questions.


- mra6368 - 2010-10-20

Figued out my problem with post processing. Sickbeard auto processing.cfg sets port for sickbeard port to 8081. My sickbeard works on port 8085. So i changed it in the cfg text and voila. !!!


- t2ffn - 2010-10-21

Anyone find that having sickbeard and couch potato running in the background (Not searching, just running) can have a significant effect on internet / download speeds? I'm noticing upto 50% drop in speeds. I also ran speed tests with and without them running, with 4-6mb/s, without 8-10mb/s.

This seems odd as they are not actively searching...Huh


- midgetspy - 2010-10-21

WingmanNZ: There is no support for custom presets unless you want to add them to the code yourself. Yes that is the spot in code you'd modify to add a preset, along with the edit and display show .tmpl files. Without checking I think combineQualities() takes two lists which correspond with the two select boxes in the custom quality UI. There's no reason to add such a preset, though, unless you really don't like seeing "Custom" in the main page hehe.


- tbird2340 - 2010-10-21

All of a sudden the post processing has quit working for me. I haven't changed anything recently so I'm really stumped..

Up until 10/2 post processing was working fine.. Starting 10/3 it hasn't worked..

Code:
Boardwalk.Empire.S01E03.720p.HDTV.x264-CTU

Loading config from c:\Program Files\SABnzbd\scripts\autoProcessTV.cfg
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>

    <title>500 Internal Server Error</title>

    <style type="text/css">

    #powered_by {

        margin-top: 20px;

        border-top: 2px solid black;

        font-style: italic;

    }



    #traceback {

        color: red;

    }

    </style>

</head>

    <body>

        <h2>500 Internal Server Error</h2>

        <p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>

        <pre id="traceback">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 908, in processEpisode

  File "sickbeard\processTV.pyo", line 187, in processDir

  File "sickbeard\processTV.pyo", line 560, in processFile

  File "sickbeard\notifiers\xbmc.pyo", line 137, in updateLibrary

  File "&lt;string&gt;", line 85, in XML

SyntaxError: not well-formed (invalid token): line 1, column 104

</pre>

    <div id="powered_by">

    <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0rc1</a></span>

    </div>

    </body>

</html>

I was getting the above most of the time but sometimes get this too:

Code:
Boardwalk Empire S01E05 720p HDTV x264 CTU

Loading config from c:\Program Files\SABnzbd\scripts\autoProcessTV.cfg
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>

    <title>401 Unauthorized</title>

    <style type="text/css">

    #powered_by {

        margin-top: 20px;

        border-top: 2px solid black;

        font-style: italic;

    }



    #traceback {

        color: red;

    }

    </style>

</head>

    <body>

        <h2>401 Unauthorized</h2>

        <p>You are not authorized to access that resource</p>

        <pre id="traceback">Traceback (most recent call last):

  File "cherrypy\_cprequest.pyo", line 657, in respond

  File "cherrypy\_cprequest.pyo", line 99, in run

  File "cherrypy\_cprequest.pyo", line 59, in __call__

  File "cherrypy\lib\auth_basic.pyo", line 86, in basic_auth

HTTPError: (401, 'You are not authorized to access that resource')

</pre>

    <div id="powered_by">

    <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0rc1</a></span>

    </div>

    </body>

</html>



- midgetspy - 2010-10-21

Post the associated sickbeard.log entries please.


- WingmanNZ - 2010-10-21

midgetspy Wrote:WingmanNZ: There is no support for custom presets unless you want to add them to the code yourself. Yes that is the spot in code you'd modify to add a preset, along with the edit and display show .tmpl files. Without checking I think combineQualities() takes two lists which correspond with the two select boxes in the custom quality UI. There's no reason to add such a preset, though, unless you really don't like seeing "Custom" in the main page hehe.

That is exactly the reason I want to do it hehe. as almost all my shows have "Custom" as the quality As i like to get it in the best HD available and replace with BluRay 720p when available. and to SD shows a similar thing. Any chance you can throw together the correct code for me as an example of having a preset for this Custom Setting?

"HD, Replace with Bluray 720p"

Image



"SD, Replace with DVDRip"

Image


(Note: I did change "SD DVD" to "DVDRip" in the common.py)


- midgetspy - 2010-10-21

You'll have to throw it together yourself, sorry... just use the existing ones as a template and I'm sure you can figure it out :0)


- zag - 2010-10-21

First of all thanks for this, awesome little program.

I would like to use it simply to find out the next show data, is there an easy way to remove the sickbeard header and menu so it leaves just the data like this?

Image

I'd like to leave the headers in any other screens.


- ECEC - 2010-10-21

midgetspy Wrote:No clue, I'm pretty sure it's not SB's fault because your git is going crazy and nothing I do should make that happen... I'd try recloning.

Does that mean just backup my config and db files and then delete the SB folder, then reclone it from git?

Also, I had an item fail post processing as well. It looks like the first time it tried to process the show, it didn't find it in the cache (I doublechecked and SB definitely snatched it). I'm also getting some weird XBMC responses which might be messing it up as well. I'm on the first Dharma beta, not the latest, would that have an affect?

Snippet of the log file: http://pastebin.com/5P9kySFt SAB has the error

Code:
Sons.of.Anarchy.S03E06.720p.HDTV.x264-CTU

Loading config from C:\Program Files\SABnzbd\autoProcessTV\autoProcessTV.cfg
Unable to open URL http://localhost:8081/home/postprocess/processEpisode?nzbName=Sons.of.Anarchy.S03E06.720p.HDTV.x264-CTU.nzb&quiet=1&dir=%5C%5Cdaruma%5CVideos%5CIncoming%5CSickbeardTemp%5CSons.of.Anarchy.S03E06.720p.HDTV.x264-CTU



- tbird2340 - 2010-10-21

midgetspy Wrote:Post the associated sickbeard.log entries please.

I couldn't find the associated logs for those particular entries.. But I think something else is jacked all together?

http://pastebin.org/385957

I didn't see the suggestion in the log to delete the cache so I'm going to try that now..


- tbird2340 - 2010-10-21

Deleted the cache and still get the 401 not authorized error..