Add one more size to size blacklist
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 7 Apr 2017 16:11:46 +0000 (18:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 7 Apr 2017 16:11:46 +0000 (18:11 +0200)
src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt

index f7c2cc5..57df9a9 100644 (file)
@@ -8,7 +8,7 @@ import net.pterodactylus.rhynodge.states.TorrentState
 /**
  * Blacklist that filters torrents with a certain size.
  */
-class SizeBlacklistFilter(private val blacklistedSizes: Iterable<String> = listOf("313.97 MiB", "331.97 MiB")): Filter {
+class SizeBlacklistFilter(private val blacklistedSizes: Iterable<String> = listOf("313.97 MiB", "331.97 MiB", "716.05 MiB")): Filter {
 
        override fun filter(state: State): State {
                val torrentState = state as? TorrentState ?: return FailedState()