If you have issues with sonarr picking up a bunch of:
NCED
NCOP
Music Videos
OP's
Then I have a solution that will delete these files and get rid of them and not have to worry about them cluttering up your Auto or Manual import process.
In the repo there is a file called anime_delete
Link Here and it will remove all of these files for you through a custom connection to sonarr.
Place this file inside whatever directory you would like and that sonarr has access to. Keep in mind if you use docker you will have to put it somewhere the docker container has a volume for
- Copy the contents of the script into whatever filepath sonarr has access to. I chose
/config/app/
nano anime_delete
- Edit the
location="/your/path/here"
and make sure it's in quotes. - Then save it and
chmod +x anime_delete
- In Sonarr go to
Settings-> Connect-> + Symbol -> Custom Script
- Change
Name
to whatever you like. - Select
On Grab
andOn Import
. - Click the Folder icon or type in the path to the script you chose earlier.
Now when you download or import any files the script will run and clear out those files that you most likely won't use and if you want them well this script isn't for you.