guessit-io / guessit

GuessIt is a python library that extracts as much information as possible from a video filename.
https://guessit-io.github.io/guessit
GNU Lesser General Public License v3.0
814 stars 92 forks source link

Not recognising absolute episode numbers in UFC Fight Night #726

Closed heloid closed 1 year ago

heloid commented 2 years ago

For: UFC.Fight.Night.201.Walker.vs.Hill.Prelims.1080p.WEB-DL.H264.Fight-BB GuessIt found: { "title": "UFC Fight Night", "season": 2, "episode": 1, "episode_title": "Walker vs Hill Prelims", "screen_size": "1080p", "source": "Web", "video_codec": "H.264", "release_group": "Fight-BB", "type": "episode" }

Absolute episode number should be 201.

Toilal commented 1 year ago

default behavior is to guess 201 as season 2 episode 1. Use --episode-prefer-number option to get the result you want.

guessit -E UFC.Fight.Night.201.Walker.vs.Hill.Prelims.1080p.WEB-DL.H264.Fight-BB
For: UFC.Fight.Night.201.Walker.vs.Hill.Prelims.1080p.WEB-DL.H264.Fight-BB
GuessIt found: {
    "title": "UFC Fight Night",
    "episode": 201,
    "episode_title": "Walker vs Hill Prelims",
    "screen_size": "1080p",
    "source": "Web",
    "video_codec": "H.264",
    "release_group": "Fight-BB",
    "type": "episode"
}