Page 1 of 1

Exclude Media Types?

Posted: 17 Aug 2015, 05:01
by jfoor
Hello,

I've got your amc.groovy script running to process music files using ID3 Tags that you (rednoah) have helped me with.
I use Sonarr to process tv shows and I'd like to prevent filebot from copying/renaming anything other than music files as Sonarr works the way I'd like it to.

I've tried modifying amc.groovy but I don't understand 100% of it and invariably end up breaking it.
I've tried using --filter *.mp3 and --filter [.]mp3

Could you point me in the right direction? I'm sure it's something simple that I've just overlooked. I could always just use a separate torrent client for music only but that seems pointless if I can get this working the way I'd like.

Not sure if it matters but I'm running this on deluge with a shell script that executes amc.groovy as mentioned in your AMC post.

Thank you in advance.

Re: Exclude Media Types?

Posted: 17 Aug 2015, 08:54
by rednoah
1.
--filter is NOT used for "filtering" files => viewtopic.php?f=3&t=2127

2.
You're looking for the --def ignore option => viewtopic.php?f=4&t=215

Re: Exclude Media Types?

Posted: 17 Aug 2015, 14:51
by jfoor
Got time to test this out and using --def ignore="([^\s]+(\.(?i)(mkv|avi|mp4))$)" is working so far.

I appreciate your help!