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
822 stars 91 forks source link

Camel case messes up guessit result #160

Closed h3llrais3r closed 10 years ago

h3llrais3r commented 10 years ago

When the path to a video contains a camel case, guessit tries to detects some more properties which messes up the previous guessit result.

See https://github.com/Diaoul/subliminal/issues/389 for more info and logging regarding the issue.

Subliminal is using not the latest version of guessit, but version 0.7.1. Perhaps this is already fixed with a newer release?

Toilal commented 10 years ago

@h3llrais3r camelCase parsing has been make optional using --split-camel and defaulted to false.

See https://github.com/wackou/guessit/commit/04700ec99653b536051282b6a8d2a7e9c446275d and https://github.com/wackou/guessit/commit/61a2a85fcec31916640fcb60b583ce0a274d1dc9

Subliminal could use guessit 0.9.3, lot of work has been made for flexget integration, with even a custom transformer. https://github.com/Flexget/Flexget/blob/develop/flexget/plugins/parsers/parser_guessit.py

h3llrais3r commented 10 years ago

@Toilal thanks for the explanation. I'll see if we can update subliminal to the latest version of guessit, so we can skip the camelCase parsing.