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
816 stars 92 forks source link

Season Guess Issues with AAC1.0.x264 #623

Open itsamenathan opened 4 years ago

itsamenathan commented 4 years ago

The string AAC1.0.x264 makes it so that season isn't properly guessed. I have seen this in the wild, but decided to copy a test in order to display the issue.

Example:

For: FlexGet.US.S2013E14.Title.Here.720p.HDTV.AAC1.0.x264-NOGRP
GuessIt found: {
    "title": "FlexGet",
    "country": "UNITED STATES",
    "season": [
        2013,
        0
    ],
    "year": 2013,
    "episode": 14,
    "episode_title": "Title Here",
    "screen_size": "720p",
    "source": "HDTV",
    "video_codec": "H.264",
    "release_group": "NOGRP",
    "type": "episode"
}

Test:

? FlexGet.US.S2013E14.Title.Here.720p.HDTV.AAC1.0.x264-NOGRP
: audio_channels: '1.0'
  audio_codec: AAC
  country: US
  episode: 14
  source: HDTV
  release_group: NOGRP
  screen_size: 720p
  season: 2013
  title: FlexGet
  episode_title: Title Here
  video_codec: H.264
  year: 2013
JacktheSniffer commented 4 years ago

Same issue for me. This string is ignored by Medusa as "multi-season" parsing error. By comparison, string "AAC2.0.h264" gets picked up fine.