Page 1 of 1

SABnzbd + Sickbeard does not remove non empty folders

Posted: August 3rd, 2011, 11:35 am
by sedmonds
Hi,

Hope someone can help me!
I'm using the latest version of both SABnzbd and Sickbeard, and seem to be having a problem with downloaded folders being left behind when they have files in them, e.g. sub, mp3, etc.
I know that I could add these to the cleanup list option, but then what if I actually wanted some subs (for foreign movies), or mp3's if I have music?

It seems that I never had this problem before on my old server (same configuration, except running SABnzbd 0.6.5), I can see SABnzbd removing the empty folders no problem, but if there are files in there too, it doesn't even attempt to delete the folder.
I'm not sure if this is a Sickbeard or SABnzbd issue, but I'm just hoping that someone may have an idea whats wrong?

Heres a quick end of log for an empty folder:

Code: Select all

Moving file from /mnt/ZFSVOL/downloads/complete/TV/Sirens UK 1x06 Cry HDTV XviD-FoV/sirens_uk.1x06.cry.hdtv_xvid-fov.avi to /mnt/ZFSVOL/downloads/complete/TV/Sirens (UK)/Season 01/Sirens (UK) - 01x06 - Cry.avi
Deleting folder /mnt/ZFSVOL/downloads/complete/TV/Sirens UK 1x06 Cry HDTV XviD-FoV
And now, where theres files left:

Code: Select all

Moving file from /mnt/ZFSVOL/downloads/complete/TV/Spooks S02 WS AC3 DVDRip XviD-m00tv/spooks.s02.e05.ws.ac3.dvdrip.xvid-m00tv.avi to /mnt/ZFSVOL/downloads/complete/TV/Spooks/Season 02/Spooks - 02x05 - Episode 5.avi

Processing succeeded for /mnt/ZFSVOL/downloads/complete/TV/Spooks S02 WS AC3 DVDRip XviD-m00tv/spooks.s02.e05.ws.ac3.dvdrip.xvid-m00tv.avi
Many thanks for reading.
Si.

Re: SABnzbd + Sickbeard does not remove non empty folders

Posted: August 3rd, 2011, 12:28 pm
by shypike
SABnzbd never deletes completed folders.
Isn't this a SickBeard problem?

Re: SABnzbd + Sickbeard does not remove non empty folders

Posted: August 3rd, 2011, 1:06 pm
by sedmonds
Thanks Shypike, I was kinda thinking that, but wasn't 100% sure about how it all works, must be Sickbeard then! Thanks again :-)