We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leading episode number in anime file gets parsed as part of the title rather than the episode when the episode number is a single digit.
Examples:
guessit "22. Nanatsu no Taizai - The Seven Deadly Sins [1080 Hi10p AAC][kuchikirukia].mkv" For: 22. Nanatsu no Taizai - The Seven Deadly Sins [1080 Hi10p AAC][kuchikirukia].mkv GuessIt found: { "episode": 22, "title": "Nanatsu no Taizai", "episode_title": "The Seven Deadly Sins", "screen_size": "1080p", "video_profile": "High 10", "color_depth": "10-bit", "audio_codec": "AAC", "release_group": "kuchikirukia", "container": "mkv", "type": "episode" }
With a single digit leading number, it instead parses it as a movie:
guessit "5. Nanatsu no Taizai - The Seven Deadly Sins [1080 Hi10p AAC][kuchikirukia].mkv" For: 5. Nanatsu no Taizai - The Seven Deadly Sins [1080 Hi10p AAC][kuchikirukia].mkv GuessIt found: { "title": "5 Nanatsu no Taizai", "alternative_title": "The Seven Deadly Sins", "screen_size": "1080p", "video_profile": "High 10", "color_depth": "10-bit", "audio_codec": "AAC", "release_group": "kuchikirukia", "container": "mkv", "type": "movie" }
Explicitly passing -t episode doesn't help unfortunately:
-t episode
guessit -t episode "5. Nanatsu no Taizai - The Seven Deadly Sins [1080 Hi10p AAC][kuchikirukia].mkv" For: 5. Nanatsu no Taizai - The Seven Deadly Sins [1080 Hi10p AAC][kuchikirukia].mkv GuessIt found: { "title": "5 Nanatsu no Taizai", "alternative_title": "The Seven Deadly Sins", "screen_size": "1080p", "video_profile": "High 10", "color_depth": "10-bit", "audio_codec": "AAC", "release_group": "kuchikirukia", "container": "mkv", "type": "episode" }
The text was updated successfully, but these errors were encountered:
I looked into what caused this,
https://github.com/guessit-io/guessit/blob/develop/guessit/rules/properties/episodes.py#L860
This is occurring as it's being detected as a "weak-episode" and its >= 10
@Toilal
Sorry, something went wrong.
No branches or pull requests
Leading episode number in anime file gets parsed as part of the title rather than the episode when the episode number is a single digit.
Examples:
With a single digit leading number, it instead parses it as a movie:
Explicitly passing
-t episode
doesn't help unfortunately:The text was updated successfully, but these errors were encountered: