Skip to content

Commit

Permalink
Aither TV catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Oct 3, 2024
1 parent 2820974 commit 35d7cb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/trackers/AITHER.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def get_audio_lang(tracks=None, is_bdmv=False, media_info_text=None):
aither_name = aither_name.replace(str(meta['year']), f"{meta['year']} {resolution}", 1)
aither_name = aither_name.replace((meta['audio']), f"{video_codec} {meta['audio']}", 1)

if meta['category'] == "TV" and meta.get('tv_pack', 0) == 0 and meta.get('episode_title_storage', '').strip() != '' and meta['episode'].strip() != '':
aither_name = aither_name.replace(meta['episode'], f"{meta['episode']} {meta['episode_title_storage']}", 1)

return aither_name

async def get_cat_id(self, category_name):
Expand Down

0 comments on commit 35d7cb6

Please sign in to comment.