Make AMC ignore some torrents

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
helloworld
Posts: 3
Joined: 14 Dec 2014, 00:26

Make AMC ignore some torrents

Post 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
User avatar
rednoah
The Source
Posts: 23949
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Make AMC ignore some torrents

Post 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.
:idea: Please read the FAQ and How to Request Help.
helloworld
Posts: 3
Joined: 14 Dec 2014, 00:26

Re: Make AMC ignore some torrents

Post 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?
User avatar
rednoah
The Source
Posts: 23949
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Make AMC ignore some torrents

Post 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.
:idea: Please read the FAQ and How to Request Help.
helloworld
Posts: 3
Joined: 14 Dec 2014, 00:26

Re: Make AMC ignore some torrents

Post by helloworld »

I can confirm that moving the quote from ignore="testfolder" to "ignore=testfolder" works

thanks
Zignature
Power User
Posts: 48
Joined: 19 Feb 2015, 11:33

Re: Make AMC ignore some torrents

Post 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"
User avatar
rednoah
The Source
Posts: 23949
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Make AMC ignore some torrents

Post 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]"
:idea: Please read the FAQ and How to Request Help.
Zignature
Power User
Posts: 48
Joined: 19 Feb 2015, 11:33

Re: Make AMC ignore some torrents

Post by Zignature »

Thanks :)
Post Reply