Guessit-fork
Guessit-fork is a python library that extracts as much information as possible from a video filename.
It has a very powerful matcher that allows to guess properties from a video using its filename only. This matcher works with both movies and tv shows episodes.
For example, Guessit-fork can do the following:
$ guessit-fork "Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi"
For: Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi
Guessit-fork found: {
"title": "Treme",
"season": 1,
"episode": 3,
"episode_title": "Right Place, Wrong Time",
"source": "HDTV",
"video_codec": "Xvid",
"release_group": "NoTV",
"container": "avi",
"mimetype": "video/x-msvideo",
"type": "episode"
}
Python usage:
from guessit_fork import guessit
result = guessit("Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi")
print(result["title"])More information is available at masudranaxpert.github.io/Guessit-fork.
This repository is maintained as Guessit-fork by masudranaxpert:
Original upstream project and credits:
This fork is hosted on GitHub for custom updates and maintenance. For upstream issues and original implementation details, see guessit-io/guessit.
Guessit-fork relies on Rebulk project for pattern and rules registration.
Guessit-fork is licensed under the LGPLv3 license.