TV shows post-processing (delete)
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
TV shows post-processing (delete)
I just gave sabnzbd a first run with +delete, but im still left with .nfo, .sfv, .srr, sample.avi. I would like to delete everything except the .avi, is that possible? I dont think I can do it in the general tab as that would apply to everything. I only want it to apply to tv shows. Any help would be appreciated.
Re: TV shows post-processing (delete)
You would do it by running a script after the download. This script would be defaulted to only the TV catagory in Config>Catagories
Can't help with the script though.
Can't help with the script though.
Eejit - The name say's it all !!
Re: TV shows post-processing (delete)
Look in Config->General.
You can set a list of extensions to be deleted.
You can set a list of extensions to be deleted.
Re: TV shows post-processing (delete)
But this will delete for every categories though. I only want it to apply to TV.shypike wrote: Look in Config->General.
You can set a list of extensions to be deleted.
I found a script which seems to meet my needs:
http://forums.sabnzbd.org/index.php?topic=897.0
However, i am getting problems running it.
[Cleanup] Cleaning up download directory: "F:\Videos\TV Series"
[Cleanup] Deleteing .nzb files
find: invalid predicate `'
[Cleanup] Deleteing .sfv files
find: invalid predicate `'
[Cleanup] Deleteing .url files
find: invalid predicate `'
[Cleanup] Deleteing .db files
find: invalid predicate `'
[Cleanup] Deleted 0 files (0 nzb, 0 sfv, 0 url, 0 db)
I am using the code given in that thread and saving it as a .cmd file for post-processing.
Re: TV shows post-processing (delete)
Nevermind, got it to work by changing the script
Code: Select all
@echo off
setlocal
echo.
echo [Cleanup] Cleaning up download directory: %1
echo [Cleanup] Deleting .nzb files
DEL %1\*.nzb /S /F /Q
echo [Cleanup] Deleting .sfv files
DEL %1\*.sfv /S /F /Q
echo [Cleanup] Deleting .nfo files
DEL %1\*.nfo /S /F /Q
echo [Cleanup] Deleting .sub files
DEL %1\*.sub /S /F /Q
echo [Cleanup] Deleting .idx files
DEL %1\*.idx /S /F /Q
echo [Cleanup] Deleting .sample files
DEL %1\*sample*.avi /S /F /Q
echo [Cleanup] Deleting .srr files
DEL %1\*.srr /S /F /Q
echo.