Wiki: How To Use Labels To White Black List Torrents With Filebot wiki page

How to use labels to white/black-list torrents with filebot

Whitelist - files that are labeled will be processed

Blacklist - files that are labeled won't be processed.

NOTE:

In order to edit your filebot you need to connect to your SSH via terminal or via Kitty if you are on Windows OS. Make sure your downloading client is shutdown.

If you are on Windows Operating System , make sure you use a proper editor like Notepad++ so that the files work on Linux.

Whitelist


Deluge

Open ~/.config/deluge/filebot.py and look for the part that looks like:

scriptOptions = {
    'whitelist': []
 ..more stuff here
}

Change 'whitelist': [] to 'whitelist': ['whitelist'].

Now Filebot will only analyse torrents that have the 'whitelest' label assigned to them. Of course you can name the label anything you want.

rTorrent

Open ~/.config/rtorrent/filebot and add the lines around the filebot script as shown below:

Imgur

Now Filebot will only analyse torrents that have the 'whitelist' label assigned to them. Of course you can name the label anything you want.

Blacklist


Deluge

Open ~/.config/deluge/filebot.py and look for the part that looks like:

scriptOptions = {
    'whitelist': []
 ..more stuff here
}

Change 'whitelist': [] to 'whitelist': ['whitelist'].

Once you are done, scroll down for the part that looks like:

# Don't process with filebot if in label blacklist
    if torrent["label"] not in scriptOptions['whitelist']:
        logging.info("Not a movie or tv show, nothing to do here.")
    else:
        call_filebot()

    return disconnect()

and edit the part from if torrent["label"] not in scriptOptions['whitelist']: to if torrent["label"] in scriptOptions['whitelist']:

rTorrent

Open ~/.config/rtorrent/filebot and add the lines around the filebot script as shown below:

Imgur

Now Filebot will analyse torrents that dont have the 'blacklist' label assigned to them. Of course you can name the label anything you want.


Last Author Contributors Versions Last update
Alchemist 6 Fri, 03 Mar 2017 00:04:33 +0100