Analyze whether the torrent name is a Movie or TV Episode
Inspired from https://regex101.com/library/yP4bY4
There is two versions, see differences at the bottom
Groups:
Title (of the Movie/of the TV Series)
Season (if TV Episode)
Episode (if TV Episode)
Year (if Movie)
Name (only in v1, should match the TV Episode title if present)
Release name (PROPER, REPACK, LIMITED, etc..)
Resolution (720p, 1080p, etc..)
Quality (HDTV, BluRay, WebRip, etc..)
Codec (Xvid, x265, x264, etc..)
Audio coding (AAC, AC3, DTS, etc...)
Team (torrent group/team)
Extension (mkv, avi, mp4, etc...)
Versions:
v1, include the TV Episode title, and have all the groups in a single match, but will misinterpret the "name" and "team" groups if the expected pattern is not respected (see in the test strings/regex rules)
v2, does not include "name" group but is more reliable, will ignore unexpected patterns.