Skip to content

Season found in parent directory takes precedent over season found in filename #797

@UnkyBadTouch

Description

@UnkyBadTouch

Found this bug when I downloaded a season pack that had the main directory with "Season 1 S01" instead of "Season S01-S10"

Even though the filename itself has the correct "S44E03" Season and Episode data, guessit is using the parent directory Season detection over it

Details below:

root@chicken:~# guessit /volume1/nas/Downloads/How the Universe Works (2010) Season 1 S01 (1080p Mixed x265 HEVC 10bit EAC3 5.1 Garshasp)/How the Universe Works (2010) - S44E03 - Monster Black Hole (1080p AMZN WEB-DL x265 Garshasp).mkv

For: /volume1/nas/Downloads/How the Universe Works (2010) Season 1 S01 (1080p Mixed x265 HEVC 10bit EAC3 5.1 Garshasp)/How the Universe Works (2010) - S44E03 - Monster Black Hole (1080p AMZN WEB-DL x265 Garshasp).mkv

GuessIt found: {
    "title": "How the Universe Works",
    "year": 2010,
    "season": 1,
    "screen_size": "1080p",
    "video_codec": "H.265",
    "video_profile": "High Efficiency Video Coding",
    "color_depth": "10-bit",
    "audio_codec": "Dolby Digital Plus",
    "audio_channels": "5.1",
    "release_group": "Garshasp",
    "episode": 3,
    "episode_title": "Monster Black Hole",
    "streaming_service": "Amazon Prime",
    "source": "Web",
    "container": "mkv",
    "mimetype": "video/x-matroska",
    "type": "episode"
}
root@chicken:~# guessit --version
+-------------------------------------------------------+
+                   GuessIt 3.2.0                       +
+-------------------------------------------------------+
+                   Rebulk 3.2.0                        +
+-------------------------------------------------------+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions