wiki:Plugins/content_size
Last modified 8 months ago Last modified on 10/22/12 01:35:13

Content size

Allow specifying minimum and maximum sizes for contents such as torrents and nzbs. By default the plugin operates in "strict" mode where if the size of a download cannot be determined it will be rejected.

Note: content_size doesn't work with magnet links, as it works by analyzing the the .torrent file. You can include the magnets plugin to reject any magnet entries.

Example:

content_size:
  min: 12
  max: 1200
  strict: no

Size is given in MB

This would reject all torrents below 12MB and above 1200MB and over rides the strict behaviour. Same would work also for nzbs.