Skip to content

masudranaxpert/Guessit-fork

Repository files navigation

Guessit-fork

Latest Version LGPLv3 License Codecov semantic-release

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.

Fork Credits

This repository is maintained as Guessit-fork by masudranaxpert:

Original upstream project and credits:

Support

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.

License

Guessit-fork is licensed under the LGPLv3 license.

About

Python library to extract metadata from video filenames (movies, series, episodes, release info).

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors