Skip to content
New issue

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

the.red.line detects as "line audio" #602

Closed
YoilyL opened this issue Apr 29, 2019 · 2 comments
Closed

the.red.line detects as "line audio" #602

YoilyL opened this issue Apr 29, 2019 · 2 comments

Comments

@YoilyL
Copy link

YoilyL commented Apr 29, 2019


For: The.Red.Line.S01E01.HDTV.x264-KILLERS.mkv
GuessIt found: {
    "title": "The Red",
    "other": "Line Audio",
    "season": 1,
    "episode": 1,
    "source": "HDTV",
    "video_codec": "H.264",
    "release_group": "KILLERS",
    "container": "mkv",
    "mimetype": "video/x-matroska",
    "type": "episode"
}
@VeNoMouS
Copy link

VeNoMouS commented Jun 8, 2019

You could pass expect_title as an option?

>>> import json
>>> import guessit
>>> print(
...     json.dumps(
...         guessit.guessit(
...             'The.Red.Line.S01E01.HDTV.x264-KILLERS.mkv',
...             options={'expected_title': ['The Red Line']}
...         ),
...         indent=4
...     )
... )
{
    "title": "The Red Line",
    "season": 1,
    "episode": 1,
    "source": "HDTV",
    "video_codec": "H.264",
    "release_group": "KILLERS",
    "container": "mkv",
    "mimetype": "video/x-matroska",
    "type": "episode"
}

guessit The.Red.Line.S01E01.HDTV.x264-KILLERS.mkv -T "The Red Line"

GuessIt found: {
    "title": "The Red Line",
    "season": 1,
    "episode": 1,
    "source": "HDTV",
    "video_codec": "H.264",
    "release_group": "KILLERS",
    "container": "mkv",
    "mimetype": "video/x-matroska",
    "type": "episode"
}

@Toilal Toilal closed this as completed in 0e41d2a Aug 30, 2019
@Toilal
Copy link
Member

Toilal commented Aug 30, 2019

Thanks for reporting ! This kind of issue really help to make guessit better, it's fixed in develop branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants