platelminto / parse-torrent-title

Extract media information from a torrent-like filename
MIT License
85 stars 13 forks source link

Does not parse DDP5.1 audio #65

Open 36-chambers opened 7 months ago

36-chambers commented 7 months ago
>>> PTN.parse("Poor.Things.2023.2160p.WEB-DL.DDP5.1.Atmos.H.265-FLUX.mkv")
{'resolution': '2160p', 'quality': 'WEB-DL', 'year': 2023, 'codec': 'H.265', 'audio': 'Dolby Atmos', 'filetype': 'MKV', 'title': 'Poor Things', 'encoder': 'FLUX'}

I expect this to parse DDP and 5.1

platelminto commented 6 months ago

This is because the second audio ("Atmos") gets parsed over it. This is a known issue (#30), I will try to get to it as it's the most glaring issue in the library right now, but no promises on how quickly that could happen.