From: David ‘Bombe’ Roden Date: Fri, 7 Apr 2017 16:11:46 +0000 (+0200) Subject: Add one more size to size blacklist X-Git-Tag: v2~106 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a95e3247bcc94f2033aed359ad7470bf00c7bc26;p=rhynodge.git Add one more size to size blacklist --- diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt b/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt index f7c2cc5..57df9a9 100644 --- a/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt +++ b/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt @@ -8,7 +8,7 @@ import net.pterodactylus.rhynodge.states.TorrentState /** * Blacklist that filters torrents with a certain size. */ -class SizeBlacklistFilter(private val blacklistedSizes: Iterable = listOf("313.97 MiB", "331.97 MiB")): Filter { +class SizeBlacklistFilter(private val blacklistedSizes: Iterable = listOf("313.97 MiB", "331.97 MiB", "716.05 MiB")): Filter { override fun filter(state: State): State { val torrentState = state as? TorrentState ?: return FailedState()