This allows filtering based on the filenames inside of torrents. You can specify either an acceptable file mask, a file mask to reject, or both. You can also specify a list of masks for either option.
Note: content_filter doesn't work with magnet links, as it works by analyzing the file list present in the .torrent file. You can include the magnets plugin to reject any magnet entries.
content_filter: require: '*.avi'
Rejects torrents that do not have avi file in them.
content_filter: reject: '*.rar'
Reject torrents that have rars in them.
content_filter: require: - '*.avi' - '*.mkv' reject: '*.wmv'
Reject torrent if it doesn't have avi OR mkv in it. Reject also if there are wmv files.
content_filter: require_all: - '*.mkv' - '*.nfo'
Reject torrents that don't have a matroska container AND a nfo file.