Page 1 of 1

Leaving files inplace till post processing is done then move them.

Posted: August 19th, 2009, 10:44 pm
by Napsterbater
I would be nice to have the option to leave the unpacked file in the temp/incomplete folder until post processing is done then move everything in that folder to the new location.

Not sure how easy this would be but I have my "Complete" folders on network drives and when I download an MKV SABnzbd+ has to upload the MKV to the network drive (only on a 10/100 network so it takes a min) then XenonMKV has to read the file from the network drive (again slow) then when its done it has to re upload the file again. Maybe set the "%1" alias for the scripts as the temp directory If this option is set, could be a per category or global. Also I would like SABnzbd+ because it can put in the right season folder.

Re: Leaving files inplace till post processing is done then move them.

Posted: August 20th, 2009, 4:36 am
by shypike
The alternative is to unpack to the ocal drive first.
After that, let a user-script copy the final stuff to wherever you want it.
If you are on Windows, Microsoft's free utility "robocopy" can do the final moving for you (use the /move option).

Re: Leaving files inplace till post processing is done then move them.

Posted: August 20th, 2009, 1:12 pm
by Napsterbater
But I don't see a way for the script to know where it should be moved to based on show name and ep. # from the SABnzbd+ sorting settings. Unless an alias is added to SABnzbd+ that would have that information some how.

Re: Leaving files inplace till post processing is done then move them.

Posted: August 21st, 2009, 5:06 am
by shypike
Let SABnzbd create season-based folders on the local drive.
Then let the user-script launch robocopy to make it replicate the folder
structure to the other drive.

robocopy C:\mydownloads\ X:\videos\ /move

If SABnzbd has just created c:\mydownloads\Happy\S1\E1\happy.avi,
then robocopy will create x:\videos\Happy\S1\E1\happy.avi AND remove the folders on C:\mydownloads.