spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

sabToCouchpotato.py

Open naartem opened this issue 14 years ago • 10 comments

For CoutchpotatoServer I'm using a script called sabToCoutchpotato.py (same concept as sabToSickbeard.py). I have added this script manualy into the sabnzb scripts folder. It's posted at the Qnap forum but it works also fine for my Synology: http://forum.qnap.com/viewtopic.php?p=273371#p273216

Is it possible to add this script in the NzbConfig package?

naartem avatar Jul 18 '12 21:07 naartem

I don't see the point as CPS handle this by scanning the download directory. What are the benefits?

Diaoul avatar Jul 19 '12 16:07 Diaoul

It's the same as for sickbeard: with CPS scanning the directory, the synology NAS is not able to hibernate the disks. With this script youre able to disable the directory scanning and do this only once SabNzb execute the script. The result: disk hibernation still works since there is no disk activity from CPS.

naartem avatar Jul 19 '12 17:07 naartem

CPS write log files so that would wake up your drives anyway Also hibernation is bad for your disks, you should disable this feature

Diaoul avatar Jul 19 '12 20:07 Diaoul

So, what is the reason that you integrated sabtosickbeard.py then, because Sickbeard is also able to scan the download directory. I use that script for the same purpose: to enable hibernation. (All log files are running from a usb drive) And it make more sense to let Sabnzb tell sickbeard and coutchpotato that the download is completed, instead of constantly scanning the download dir.

But, I didn't know that hibernation is bad for the disks, can you explain?

naartem avatar Jul 19 '12 21:07 naartem

Well, sabToSickbeard is included in SickBeard so I didn't included anything, it's already there. Also, the feature to scan a directory has been added later in SickBeard so the script was initially mandatory to make SickBeard work. I agree that makes more sense but then I wonder why @RuudBurger didn't included that in the first place. I think there might be good reasons (one being that it requires some actions in SABnzbd).

About the hibernation, what is known to not be good for disks longevity is the number of spin down/up cycles. When you turn on hibernation you increase that number each time you enter/exit hibernation. I suggest you google this subject, there are many studies that shows the negative impact of hibernation on disks longevity, especially in a NAS where your disks are subject to multiple spin down/up during a single day. In a desktop computer the impact is very low.

Diaoul avatar Jul 19 '12 21:07 Diaoul

Is "sabToSickbeard" always used to communicate with sabnzb?

I see in Sickbeards options it says "Do not use if you use sabToSickbeard w/ SABnzbd+!"

Beckman avatar Jul 23 '12 16:07 Beckman

No, only if you install this script and configure it for the sabnzb category that Sickbeard is using.

naartem avatar Jul 23 '12 17:07 naartem

Yeah, I don't install anything expect the packages from the synocomunity, and i think Diaoul said in another thread that this was included in that install (just not sure if its being used or not)

Beckman avatar Jul 23 '12 23:07 Beckman

If you select Sickbeard Processing in nzbconfig, the scripts will be installed in the scripts folder of sabnzb. Still you need to select the sabtosickbeard.py script for the correct sab category if you want to use this.

naartem avatar Jul 24 '12 07:07 naartem

I won't put the script in the SPK IMO

Diaoul avatar Nov 11 '12 13:11 Diaoul