This originally started in the sickbeard forums as one of my thought but after thinking about it should be better if implemented in sab i think
..http://sickbeard.com/forums/viewtopic.p ... p=422#p422
i will copy/past from there..
by JayJay » Wed Sep 15, 2010 9:55 pm
My english is not that well so i will explain by discribing the situation..
I'm building a NAS with a raid array/non raid combination and a seperate 2,5" hdd/ssd for the OS, sab+SB and it will be the primary download disk.
what im looking for is a way to move my downloads delayed in bulk on user-set times or other criteria to its final destination..This is mostly for energy-saving reasons as the drives wil spinn-up every time sabtosickbeard will do its job.
besides time there could be other criterias like:
-once a x-hour/day .
-if reached x-Gb of downloaded shows.
-if x shows are downloaded (could override above settings)
-delay move if file is beeing watched
-an override: when free space on disc is less then x gb.
-keep trying if final location isn't available for now (for in situations where the final location is on another machine/usb-disk and in off-status)
Dont know if there is a solution for this (or please tell me) but as far i know it isnt possible..
so if implemented in SB it would be something like:
*settings in SB for the actual function. on/off+timesettings.
*after dowloading the sabtosickbeard script will process it as normal exept it parcs the files (in its own folder?) in a temp-folder rather then placing it directly in its final location.
*somewhere in sb the show should be stated as "waiting for move" or something similar.also a xbmc/growl notification would be nice.("file x placed in move-queue/to final location").
SB should actually update the xbmc -library imo so you can watch it right away, also after replacing it the library should be notified?)
*after the given times/criterias the script should move all the downloaded and processed shows to its final location.(change state to dowloaded/finished whatever)
what do you guys think..and would it even be possible?
by rascalli » Thu Sep 16, 2010 6:28 am
Of course it is possible , but I think it would only be implemented if more people like/need this.
Also I am curious why the drives will go crazy, do you have any idea ?
Is this all new hardware ?
If you use linux , have a look at NICE & IONICE settings , this can help disk & CPU usage
----
I know you can set the post-processing manual on a folder.
If you can find out what command is used to get the postproces running , then you can set up a cron-job / scheduled task , to start this every 1-2 hours
so what do you think..hats why i ask riscalli..are there more who would like it..
The drives wont go crazy..its normal behaviour..the drives if not read/write will be asleep, only the 2,5" will work because of the os/sab/downloading but when the script is moving an episode the whole array will spin-up..
a Drive uses most power when spinning up, up to 30W for every drive.
Sure, if theres 2 or 3 drives and a few shows to download its doable..But for what i noticed is that the available hardware and solutions are increasing rapidly and getting cheaper, more and more people are getting used to the concept of a central media/home server/NAS. And the big selling point now a days is the whole "be green ,save the earth etc" thing.
For now the out-of-the-box nasses mostly have 2-4 drives but its increasing quite fast and i know for a fact pc-builders are selling more and more pre-build homeservers.
So yes i really think that some energy saving features will be a big plus for sickbeard so why not start implement it right a way to get a head start?
For instance my server will start with a main 2,5 inch+ 4 disc array+ 2 standalone discs. and for now about 70 shows to download. its easily expandable up to a total of 10 drives and then there is also SAS..("put cable in"-> add 10 more drives)..
edit: now im thinking about it..wouldnt it be better if this is done at the dl client end..? cause besides sickbeard there are other similar programs like the couchpatato thing and theres something for music also(?). So maby its better to let sabnzb handle the delay by delaying the execution of scripts..

