Skip to content

Commit

Permalink
HDB: Remove space before audio channels on encodes/webs
Browse files Browse the repository at this point in the history
  • Loading branch information
L4GSP1KE committed Oct 11, 2023
1 parent 33548f4 commit 10ef647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trackers/HDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ async def edit_name(self, meta):
if 'HDR' in meta.get('hdr', ''):
if 'HDR10+' not in meta['hdr']:
hdb_name = hdb_name.replace('HDR', 'HDR10')
if meta.get('type') in ('WEBDL', 'WEBRIP', 'ENCODE') and "DD" in meta['audio']:
if meta.get('type') in ('WEBDL', 'WEBRIP', 'ENCODE'):
hdb_name = hdb_name.replace(meta['audio'], meta['audio'].replace(' ', '', 1).replace('Atmos', ''))
else:
hdb_name = hdb_name.replace(meta['audio'], meta['audio'].replace('Atmos', ''))
Expand Down

0 comments on commit 10ef647

Please sign in to comment.