From e2c65907b4baa0a1ea2c37294f2d84aedcc4b491 Mon Sep 17 00:00:00 2001 From: azulu Date: Sat, 5 Oct 2024 15:55:22 +0000 Subject: [PATCH] WEB encodes are now labeled correctly. --- src/trackers/HUNO.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/trackers/HUNO.py b/src/trackers/HUNO.py index c1a5298f..74857b6c 100644 --- a/src/trackers/HUNO.py +++ b/src/trackers/HUNO.py @@ -221,11 +221,12 @@ async def get_cat_id(self, category_name): async def get_type_id(self, meta): basename = self.get_basename(meta) type = meta['type'] + video_encode = meta['video_encode'] if type == 'REMUX': return '2' elif type in ('WEBDL', 'WEBRIP'): - return '15' if 'x265' in basename else '3' + return '15' if 'x265' in video_encode else '3' elif type in ('ENCODE', 'HDTV'): return '15' elif type == 'DISC':