Failed to unpack? -> Set category to empty.
Posted: January 19th, 2011, 11:46 am
As the subject says, what I want to achieve is that when something fails to unpack to have the category set to empty.
Currently I have a cron that runs a couple times a day to automatically download NZB's for new tv show episodes. It saves the file in the "TV" subfolder of the nzb pickup folder so that it automatically flags it as "category-> TV". However, when the download is done and sabnzb can't unpack the download for whatever reason, the sorting rule still applies because it has the category "TV" so the _FAILED_ folder ends up where I want the sorting rules to store my unpacked episodes. XBMC however picks up the new ep because it recognizes a new episode and adds it to the Library, however it's adding a rar file from the _FAILED_ dir, thinking it's a new ep.
I don't want the sorting rules to apply on failed unpacks so my initial thought was "set the category to empty on failed unpacks" so that it won't run sorting as well.
Is there a way to achieve this?
Currently I have a cron that runs a couple times a day to automatically download NZB's for new tv show episodes. It saves the file in the "TV" subfolder of the nzb pickup folder so that it automatically flags it as "category-> TV". However, when the download is done and sabnzb can't unpack the download for whatever reason, the sorting rule still applies because it has the category "TV" so the _FAILED_ folder ends up where I want the sorting rules to store my unpacked episodes. XBMC however picks up the new ep because it recognizes a new episode and adds it to the Library, however it's adding a rar file from the _FAILED_ dir, thinking it's a new ep.
I don't want the sorting rules to apply on failed unpacks so my initial thought was "set the category to empty on failed unpacks" so that it won't run sorting as well.
Is there a way to achieve this?