Delete folder from source after moving the file

jpborjas asked for this feature 2 months ago — 7 comments

jpborjas commented 2 months ago

When SABnzbd finishes downloading a movie, it puts it in a folder. When Radarr moves that movie its final destination, it should remove the folder, but it isn't.

| fedoranimus commented about 2 months ago

Does the SAB-created folder still have contents in it? Radarr will delete the previous folder if it's empty, but not if there are files left-over.

| vortexrap commented about 2 months ago

i would be very careful with this. Depending on the situation, some movies are downloaded without a folder. Radarr needs to be able to handle those situations or else you run the risk of deleting the parent/root folder.

| dcplaya commented about 2 months ago

Happens to me, crap files are left over like samples, idx, nfo, ect files. I always have to delete folder manually.

| linds1234 commented about 2 months ago

I don't think this feature is needed from the radarr side of things. I use Sabnzbd to download, and include these extensions below in the cleanup list, radarr then deletes the folder no problem.

.nfo, .sfv, .nzb, .srr, .info, .idx, .txt, .com, .db, .md5, .par2, .png, .1, .jpg, .jpeg, .url, .lnk, .html, .ini, .bat, .com, .exe, .scr, .sample

| fryfrog commented 24 days ago

I agree, this seems like something the downloader should handle.

| mikeschutz commented 10 days ago

I like the idea of the downloader being nothing more than a downloader. Download the NZB and pass it back to whatever program/service requested the file. Let the program (Radarr in this case) grab the video file and dispose of the rest.

Join the discussion!

with GitHub to comment