Page 1 of 1

Beta 3 sorting, renaming, cleanup almost there!

Posted: December 11th, 2009, 4:19 pm
by jm9843
Hi and thanks developers for this amazing program.

I installed the new beta 3 last night and it appears to resolve any issues that I was having with repairing, sorting, and renaming with beta 1.

However, the cleanup didn't go properly.  While the .par2 files were deleted after extraction/sorting/renaming, the .rar and .r00 to .rXX files were moved to the destination directory and still remain.  I have the default "delete" option selected for post-processing.

Is this a known issue or can someone provide a simple Windows script to delete these such files?

Thanks.

Re: Beta 3 sorting, renaming, cleanup almost there!

Posted: December 11th, 2009, 5:52 pm
by shypike
This usually happens when unrelated files are in the NZB file.
SABnzbd will only remove files of which it knows it can delete them.
(So, par2 files that have been used to verify and rar's that have been unpacked).
You can set a clean-up extension list (e.g. .par2, .rar) in Config->General.

Re: Beta 3 sorting, renaming, cleanup almost there!

Posted: December 11th, 2009, 6:30 pm
by jm9843
shypike wrote: This usually happens when unrelated files are in the NZB file.
SABnzbd will only remove files of which it knows it can delete them.
(So, par2 files that have been used to verify and rar's that have been unpacked).
You can set a clean-up extension list (e.g. .par2, .rar) in Config->General.
Thanks for the info and suggestion.  In the clean-up extension list, is it possible to express the extension using a wild card?  For example, to cleanup the multi-part rar files: ".r*"

In my case, the cleanup did for some reason exclude ".rar" and ".r*" files that had already been unpacked.  The nzb contained a .sfv, .nfo, and .rar and .r* files that extracted to a single .mkv file.  The result was the .mkv being renamed and moved as I had specified by way of "Categories" and "TV sorting" options.  The .sfv, .nfo, and .rar/.r* files moved there as well but were NOT renamed or deleted.

To that effect, would a script be able to accomplish what I am looking for.  I'm not sure of the syntax but something like:

del %1\%3.rar
del %1\%3.r*

Because, ideally, I'd like to keep the extracted file(s) (obviously) but also supporting files like .nfo, .sfv, .sub, .idx, etc.  Basically keep anything that doesn't include in it's name %3 (the "Clean version of the job name" as described in the wiki - http://wiki.sabnzbd.org/user-scripts), but delete the remaining rar files that had already been unpacked.

Thanks!

Re: Beta 3 sorting, renaming, cleanup almost there!

Posted: December 12th, 2009, 5:15 am
by shypike
jm9843 wrote: In my case, the cleanup did for some reason exclude ".rar" and ".r*" files that had already been unpacked.  
The cleanup list currently doesn't support wild-cards.

Used par2 and rar files should be deleted.
Can you email the NZB file to bugs at sabnzbd.org ?
Please include also your TV sort expression, if you are using one for this download.

Re: Beta 3 sorting, renaming, cleanup almost there!

Posted: December 14th, 2009, 2:11 pm
by switch
When the affected items are in your queue are they set to +Delete (D)?

Re: Beta 3 sorting, renaming, cleanup almost there!

Posted: December 14th, 2009, 7:30 pm
by jm9843
shypike wrote:Can you email the NZB file to bugs at sabnzbd.org ?
Please include also your TV sort expression, if you are using one for this download.
Email sent!

Re: Beta 3 sorting, renaming, cleanup almost there!

Posted: December 14th, 2009, 7:36 pm
by jm9843
switch wrote: When the affected items are in your queue are they set to +Delete (D)?
I queued something up to check this and actually, no, they are not.  ???  It defaulted to +Unpack (U).  I changed it to +Delete (D) while it was in the process of downloading and it deleted the rars properly.

Do you have any idea why it is defaulting to (U) when my "Default Post-Processing" under the "Switches configuration" section is set to "+Delete"?  Also, under the "User-defined categories" section I have "Processing" set to "Default" for all categories.

Thanks.

Re: Beta 3 sorting, renaming, cleanup almost there!

Posted: December 17th, 2009, 2:54 pm
by switch
Can you detail how the nzbs are added to your queue?