Handling nzbs in watched folder in case of auto-unzipping

Want something added? Ask for it here.
Post Reply
abhs
Release Testers
Release Testers
Posts: 11
Joined: September 25th, 2008, 11:01 am

Handling nzbs in watched folder in case of auto-unzipping

Post by abhs »

Safari has an "auto-unzip" feature and will take downloaded zip files and extract them to a folder of the zip file's name. When downloading multiple nzbs from newzbin, there is an option to compress all of them to a zip. This zip file is never picked up by sab because safari will automatically extract them to a folder within the watched folder. There is no way to selectively turn off the "auto-unzip" feature in Safari by website. Is there any way to write a download script that will pull nzbs from folders such as "selected_reports_***" (the newzbin naming protocol for zip files)?

Edit: This method would not work well if the nzb download contained an nzb within it. In this case, sabnzbd would keep looping the download. Perhaps a better option would be to allow pulling nzbs from recursive folders within the watched folder if the user opts to use the "cleanup" option of sabnzbd to .nzb files to downloads.
Last edited by abhs on February 16th, 2009, 10:32 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Handling nzbs in watched folder in case of auto-unzipping

Post by shypike »

Recursive scanning would defeat the category support.
If SABnzbd now finds an NZB in folder WATCHED/linux it will assume "linux" to be the category.

An alternative would be to write a simple crontab script that copies NZB files
to the watched folder.
Post Reply