diff --git a/src/trackers/HUNO.py b/src/trackers/HUNO.py index c1a5298f..558d4b23 100644 --- a/src/trackers/HUNO.py +++ b/src/trackers/HUNO.py @@ -219,13 +219,13 @@ async def get_cat_id(self, category_name): return category_id 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':