Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 706 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 706 Bytes

Movie Title Filter

Filter out common torrent formatting from a video file.
Returns a simplified output with a date, if it has one.

  • First strips out all of the brackets.
  • Searches through the title string, and looks for the release year.
    ie. a date between 1920 and 2050.
    the function returns an array of the years found and picks the last one.
  • If a date was found, parse out the title left of the date.
  • No date? Parses out codecs, video codecs, resolutions, and provide a result.