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

Unable to download Tate no Yuusha no Nariagari episode because of incorrect Guessit parsing #10526

Closed
sam5558 opened this issue Apr 22, 2022 · 4 comments
Assignees

Comments

@sam5558
Copy link

sam5558 commented Apr 22, 2022

Hello,
First of all thank you for this project, i love it.

Describe the bug
The issue i'm facing is that i'm unable to download the following file (Tate no Yuusha anime) :

[[Tsundere-Raws] Tate no Yuusha no Nariagari Season 2 - 03 VOSTFR (CR) [WEB 1080p x264 AAC].mkv](https://nyaa.si/view/1517376)

After some diagnosis i found that pyMedusa is having hard time identifying the season... It should be Season 2 => S02 but for some reason Medusa was identifying it as Season 3 (basically took the episode number as Season number).

After removing / adding the same series with a new indexer (from tvdb to imdb) i did the same exact test and now it identifies the episode as Season 02, 03 (basically two seasons for the same entry...
Result :

{
    "title": "Tate no Yuusha no Nariagari",
    "season": [
        2,
        3
    ],
    "subtitle_language": "French",
    "release_group": "CR",
    "source": "Web",
    "screen_size": "720p",
    "video_codec": "H.264",
    "video_encoder": "x264",
    "audio_codec": "AAC",
    "container": "mkv",
    "type": "episode",
    "parsing_time": 0.021677017211914062
}

Medusa is then discarding the result :

Discarding result. Multi-season detected for '[Tsundere-Raws] Tate no Yuusha no Nariagari Season 2 - 03 VOSTFR (CR) [WEB 720p x264 AAC].mkv': MatchesDict([('title', 'Tate no Yuusha no Nariagari'), ('season', [2, 3]), ('subtitle_language', <Language [fr]>), ('release_group', 'CR'), ('source', 'Web'), ('screen_size', '720p'), ('video_codec', 'H.264'), ('video_encoder', 'x264'), ('audio_codec', 'AAC'), ('container', 'mkv'), ('type', 'episode'), ('parsing_time', 0.09723186492919922)])

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'config > Post-processing'
  2. fill in the release name by '[Tsundere-Raws] Tate no Yuusha no Nariagari Season 2 - 03 VOSTFR (CR) [WEB 1080p x264 AAC].mp4'
  3. See error

Screenshots
Screenshot_20220422_142421

Medusa (please complete the following information):

  • Docker (linuxserver) v0.5.29 latest

Debug logs (at least 50 lines):
General > Advanced Settings > Enable debug

Medusa logs whenever i try to grab it manually or automatically :

2022-04-22 12:11:45 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-353712 :: Nyaa :: [9b23c72] The result [Tsundere-Raws].Tate.no.Yuusha.no.Nariagari.Season.2.-.03.VOSTFR.(CR).[WEB.720p.x264.AAC].mkv doesn't seem to match an episode that we are currently trying to snatch, skipping it
2022-04-22 12:11:45 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-353712 :: Nyaa :: [9b23c72] Using cache item for [Tsundere-Raws].Tate.no.Yuusha.no.Nariagari.Season.2.-.03.VOSTFR.(CR).[WEB.720p.x264.AAC].mkv
2022-04-22 12:11:45 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-353712 :: Nyaa :: [9b23c72] The result [Tsundere-Raws].Tate.no.Yuusha.no.Nariagari.Season.2.-.03.VOSTFR.(CR).[WEB.720p.x264.AAC].mp4 doesn't seem to match an episode that we are currently trying to snatch, skipping it
2022-04-22 12:11:45 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-353712 :: Nyaa :: [9b23c72] Using cache item for [Tsundere-Raws].Tate.no.Yuusha.no.Nariagari.Season.2.-.03.VOSTFR.(CR).[WEB.720p.x264.AAC].mp4
2022-04-22 12:11:45 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-353712 :: Nyaa :: [9b23c72] The result [Tsundere-Raws].Tate.no.Yuusha.no.Nariagari.Season.2.-.03.VOSTFR.(CR).[WEB.1080p.x264.AAC].mkv doesn't seem to match an episode that we are currently trying to snatch, skipping it

Additional context
I tried using the scene exception like this :
Screenshot_20220422_142825
But didn't work also.
PS : I also removed the cache.db in case it kept old entries or something problematic, still won't work.

Thank you for your help.

@p0psicles
Copy link
Contributor

Yeah this is an issue with the Guessit parser.
You can report it here: https://github.com/guessit-io/guessit/issues

I could try writing a rule for it. But tbh guessit should be able to recognize this as a titel - episode format.

@p0psicles
Copy link
Contributor

Added to this issue: guessit-io/guessit#690

@p0psicles
Copy link
Contributor

I've added a rule myself. Should be fixed shortly.

@sam5558
Copy link
Author

sam5558 commented Apr 26, 2022

Thanks a lot.

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

No branches or pull requests

2 participants