Skip to content

Instantly share code, notes, and snippets.

@andrenam
Created May 8, 2014 22:06
Show Gist options
  • Save andrenam/20a955a2477ccef8d343 to your computer and use it in GitHub Desktop.
Save andrenam/20a955a2477ccef8d343 to your computer and use it in GitHub Desktop.
guessit star trek 9 -- expected result
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_idnumber = guessit.transfo.guess_idnumber:GuessIdnumber')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_bonus_features = guessit.transfo.guess_bonus_features:GuessBonusFeatures')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_date = guessit.transfo.guess_date:GuessDate')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('split_path_components = guessit.transfo.split_path_components:SplitPathComponents')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_properties = guessit.transfo.guess_properties:GuessProperties')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_release_group = guessit.transfo.guess_release_group:GuessReleaseGroup')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('split_explicit_groups = guessit.transfo.split_explicit_groups:SplitExplicitGroups')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_episodes_rexps = guessit.transfo.guess_episodes_rexps:GuessEpisodesRexps')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_weak_episodes_rexps = guessit.transfo.guess_weak_episodes_rexps:GuessWeakEpisodesRexps')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_episode_info_from_position = guessit.transfo.guess_episode_info_from_position:GuessEpisodeInfoFromPosition')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('split_on_dash = guessit.transfo.split_on_dash:SplitOnDash')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_movie_title_from_position = guessit.transfo.guess_movie_title_from_position:GuessMovieTitleFromPosition')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_video_rexps = guessit.transfo.guess_video_rexps:GuessVideoRexps')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_episode_special = guessit.transfo.guess_episode_special:GuessEpisodeSpecial')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_country = guessit.transfo.guess_country:GuessCountry')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_language = guessit.transfo.guess_language:GuessLanguage')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_website = guessit.transfo.guess_website:GuessWebsite')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_year = guessit.transfo.guess_year:GuessYear')
DEBUG [stevedore.extension:_load_plugins] -- found extension EntryPoint.parse('guess_filetype = guessit.transfo.guess_filetype:GuessFiletype')
DEBUG [GuessFiletype:guess_filetype] -- Nothing characteristic found, assuming type = movie
DEBUG [guessit.matcher:log_found_guess] -- Property found: type=movie (confidence=1.00)
DEBUG [guessit.matcher:log_found_guess] -- Property found: container=mkv (confidence=1.00)
DEBUG [guessit.matcher:log_found_guess] -- Property found: container=mkv (confidence=0.30)
DEBUG [guessit.language:__init__] -- The given string "trek" could not be identified as a language
DEBUG [guessit.language:__init__] -- The given string "9" could not be identified as a language
DEBUG [guessit.matcher:log_found_guess] -- Property found: subtitleLanguage=Arabic (confidence=0.80)
DEBUG [guessit.language:__init__] -- The given string "trek" could not be identified as a language
DEBUG [guessit.language:__init__] -- The given string "9" could not be identified as a language
DEBUG [GuessMovieTitleFromPosition:process] -- folder: []
DEBUG [GuessMovieTitleFromPosition:process] -- basename: [u'star.trek.9.mkv\n\nstar.trek.9.mkv']
DEBUG [GuessMovieTitleFromPosition:log_found_guess] -- Property found: title=trek 9 (confidence=0.60)
DEBUG [guessit.matcher:__init__] -- Found match tree:
00000000000 111
00000000000 000
00001111111 000
___________.___
xxxxttttttt ccc
star.trek.9.mkv
DEBUG [guessit.guess:_merge_similar_guesses_nocheck] -- Updating matching property 'container' with confidence 1.00
DEBUG [guessit.matchtree:matched] -- Final result: {
[1.00] "type": "movie",
[0.80] "subtitleLanguage": [
"Arabic"
],
[1.00] "container": "mkv",
[0.60] "title": "trek 9"
}
INFO [guessit:_build_filename_mtree] -- Running 2nd pass
DEBUG [GuessFiletype:guess_filetype] -- Nothing characteristic found, assuming type = movie
DEBUG [guessit.matcher:log_found_guess] -- Property found: type=movie (confidence=1.00)
DEBUG [guessit.matcher:log_found_guess] -- Property found: container=mkv (confidence=1.00)
DEBUG [guessit.matcher:log_found_guess] -- Property found: container=mkv (confidence=0.30)
DEBUG [guessit.language:__init__] -- The given string "trek" could not be identified as a language
DEBUG [guessit.language:__init__] -- The given string "9" could not be identified as a language
DEBUG [guessit.language:__init__] -- The given string "trek" could not be identified as a language
DEBUG [guessit.language:__init__] -- The given string "9" could not be identified as a language
DEBUG [GuessMovieTitleFromPosition:process] -- folder: []
DEBUG [GuessMovieTitleFromPosition:process] -- basename: [u'star.trek.9.mkv\n\nstar.trek.9.mkv']
DEBUG [GuessMovieTitleFromPosition:log_found_guess] -- Property found: title=star trek 9 (confidence=0.60)
DEBUG [guessit.matcher:__init__] -- Found match tree:
00000000000 111
00000000000 000
000
___________.___
ttttttttttt ccc
star.trek.9.mkv
DEBUG [guessit.guess:_merge_similar_guesses_nocheck] -- Updating matching property 'container' with confidence 1.00
DEBUG [guessit.matchtree:matched] -- Final result: {
[1.00] "type": "movie",
[1.00] "container": "mkv",
[0.60] "title": "star trek 9"
}
For: star.trek.9.mkv
GuessIt found: {
[1.00] "container": "mkv",
[1.00] "type": "movie",
[0.60] "title": "star trek 9"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment