Skip to content

Commit

Permalink
Export cleanpath mediainfo with DVD, for MTV
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Sep 12, 2024
1 parent 594534d commit dccd28c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,9 @@ async def get_disc(self, meta):
export = open(f"{meta['base_dir']}/tmp/{meta['uuid']}/MEDIAINFO.txt", 'w', newline="", encoding='utf-8')
export.write(discs[0]['ifo_mi'])
export.close()
export_clean = open(f"{meta['base_dir']}/tmp/{meta['uuid']}/MEDIAINFO_CLEANPATH.txt", 'w', newline="", encoding='utf-8')
export_clean.write(discs[0]['ifo_mi'])
export_clean.close()
elif is_disc == "HDDVD":
discs = await parse.get_hddvd_info(discs)
export = open(f"{meta['base_dir']}/tmp/{meta['uuid']}/MEDIAINFO.txt", 'w', newline="", encoding='utf-8')
Expand Down

0 comments on commit dccd28c

Please sign in to comment.