Skip to content

Commit

Permalink
WEB encodes are now labeled correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
azulu committed Oct 5, 2024
1 parent 9ee3e14 commit e2c6590
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trackers/HUNO.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit e2c6590

Please sign in to comment.