Page 1 of 1

Make AMC ignore some torrents

Posted: 14 Dec 2014, 00:31
by helloworld
I am trying to get AMC to ignore some torrents, such as when I download a book.

I thought I could assign a label in using labelplus in deluge, but I can't find how to figure out what the environment variable for the label would be.

Running filebot 4.5.3, windows vista, and deluge.

thanks for any ideas

Re: Make AMC ignore some torrents

Posted: 14 Dec 2014, 04:37
by rednoah
Deluge doesn't pass the label to external programs so you can't do it via labels.

You could try the --def ignore option.

Re: Make AMC ignore some torrents

Posted: 14 Dec 2014, 21:51
by helloworld
I can't find any examples of -def ignore. I've tried -def ignore=testfolder but that doesn't seem to work. Any ideas?

Re: Make AMC ignore some torrents

Posted: 15 Dec 2014, 07:07
by rednoah
--def ignore=regex Ignore filepaths that match the given regular expression
For example:

Code: Select all

--def "ignore=testfolder"
This will ignore any path that includes the String "testfolder" but you can do a lot more with regular expressions.

Re: Make AMC ignore some torrents

Posted: 16 Dec 2014, 12:33
by helloworld
I can confirm that moving the quote from ignore="testfolder" to "ignore=testfolder" works

thanks

Re: Make AMC ignore some torrents

Posted: 22 Feb 2015, 12:59
by Zignature
how would one apply multiple folders?

Code: Select all

--def "ignore=testfolder1, testfolder2"
or

Code: Select all

--def "ignore=testfolder1" --def "ignore=testfolder2"
or

Code: Select all

--def "ignore=testfolder1" "ignore=testfolder2"

Re: Make AMC ignore some torrents

Posted: 23 Feb 2015, 06:07
by rednoah
--def ignore takes a single regular expression.

Hence:

Code: Select all

--def "ignore=testfolder1|testfolder2"

Code: Select all

--def "ignore=testfolder[0-9]"

Re: Make AMC ignore some torrents

Posted: 23 Feb 2015, 09:43
by Zignature
Thanks :)