Skip to content

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

License

Notifications You must be signed in to change notification settings

warrenarea/movie_title_filter

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages