From d29ffa566cede938641d65e72d4ef3cf61bed2d3 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Fri, 28 Jul 2023 18:45:23 +0100 Subject: [PATCH] zmpt: update MR & MST there isn't actually a 1 day MST for non-H&R torrents, but putting it at zero would then screw with ratios, as a global MR of 0.4 is still required --- src/Jackett.Common/Definitions/zmpt.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Jackett.Common/Definitions/zmpt.yml b/src/Jackett.Common/Definitions/zmpt.yml index 254bcc3e6..ac740c4af 100644 --- a/src/Jackett.Common/Definitions/zmpt.yml +++ b/src/Jackett.Common/Definitions/zmpt.yml @@ -181,10 +181,15 @@ search: img.pro_2up: 2 "*": 1 minimumratio: - text: 1.0 + case: + img[title="H&R"]: 1.0 + "*": 0.4 minimumseedtime: - # 1 day (as seconds = 24 x 60 x 60) - text: 86400 + # H&R 3 days (as seconds = 3 x 24 x 60 x 60) + # normal 1 day (as seconds = 24 x 60 x 60) + case: + img[title="H&R"]: 259200 + "*": 86400 description: selector: td.rowfollow:nth-child(2) remove: a, b, font, img, span