diff --git a/src/trackers/AITHER.py b/src/trackers/AITHER.py index c17a51f7..ff766c00 100644 --- a/src/trackers/AITHER.py +++ b/src/trackers/AITHER.py @@ -126,7 +126,8 @@ async def edit_name(self, meta): audio_lang = meta['bdinfo']['audio'][0]['language'].upper() if audio_lang != "": aither_name = aither_name.replace(meta['resolution'], f"{audio_lang} {meta['resolution']}", 1) - # aither_name = aither_name.replace(meta.get('video_encode', meta.get('video_codec', "")), meta.get('video_encode', meta.get('video_codec', "")).replace('.', '')) + if meta['category'] == "TV" and meta.get('tv_pack', 0) == 0 and meta.get('episode_title_storage', '').strip() != '' and meta['episode'].strip() != '': + name = name.replace(meta['episode'], f"{meta['episode']} {meta['episode_title_storage']}", 1) return aither_name async def get_cat_id(self, category_name):