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

Issue matching "Gold Rush: White Water" #765

Open
Sparhawk76 opened this issue Mar 19, 2024 · 3 comments
Open

Issue matching "Gold Rush: White Water" #765

Sparhawk76 opened this issue Mar 19, 2024 · 3 comments

Comments

@Sparhawk76
Copy link

I am a medusa user and am having issues where it is getting confused between Gold Rush: White Water and Gold Rush.

When it searches for an episode of Gold Rush: White Water, and a file is found, the filename is sent through guessit and it returns the show name "Gold Rush", confusing medusa and resulting in no episode being downloaded.

For more information my reply to this bug report contains logs showing this problem.
pymedusa/Medusa#11644

@VeNoMouS
Copy link

VeNoMouS commented Mar 21, 2024

Appears to parse fine?

>>> from guessit import guessit
>>> print(json.dumps(guessit('Gold.Rush.White.Water.S07E01.1080p.HEVC.x265-MeGusta.mkv'), indent=4))
{
    "title": "Gold Rush White Water",
    "season": 7,
    "episode": 1,
    "screen_size": "1080p",
    "video_codec": "H.265",
    "video_profile": "High Efficiency Video Coding",
    "release_group": "MeGusta",
    "container": "mkv",
    "mimetype": "video/x-matroska",
    "type": "episode"
}
>>>
>>> import guessit
>>> guessit.__version__
'3.7.1'
>>>

@Sparhawk76
Copy link
Author

Sparhawk76 commented Jun 3, 2024

Getting the same error now for episodes of Gold Rush: Parkers Trail. In the log below it finds a file named "Gold.Rush.Parkers.Trail.S07E01.1080p.HEVC.x265-MeGusta" (bottom line of log), then you can see it gets confused and at the top two lines of the log it thinks it's found an episode of the show "Gold Rush".

As I stated before I'm just a user of medusa, with very little python knowledge. I'm not the only medusa user seeing this error.

Log Snippet:

2024-06-02 17:03:44 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-379221 :: [DigitalCore-JKT] :: [34a67cf] No episodes [1] of season 7 are needed with this quality for Gold Rush
2024-06-02 17:03:44 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-379221 :: [DigitalCore-JKT] :: [34a67cf] 208111: 'Gold Rush' S07E01 status is: 'Downloaded'. Ignoring result with quality '1080p WEB-DL'. Reason: Existing quality is already a preferred quality. Ignoring new quality
2024-06-02 17:03:44 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-379221 :: [DigitalCore-JKT] :: [34a67cf] 208111: Allowed, Preferred = [ SDTV, SD DVD, 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] [ 720p HDTV, 1080p HDTV, 720p WEB-DL, 1080p WEB-DL, 720p BluRay, 1080p BluRay ] Found = [ 1080p WEB-DL ]
2024-06-02 17:03:44 INFO     FORCEDSEARCHQUEUE-BACKLOG-379221 :: [DigitalCore-JKT] :: [34a67cf] Quality of Gold.Rush.Parkers.Trail.S07E01.1080p.WEB.h264-EDITH is 1080p WEB-DL
2024-06-02 17:03:44 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-379221 :: [DigitalCore-JKT] :: [34a67cf] Transaction with 6 queries executed
2024-06-02 17:03:44 DEBUG    FORCEDSEARCHQUEUE-BACKLOG-379221 :: [DigitalCore-JKT] :: [34a67cf] Found single episode result Gold.Rush.Parkers.Trail.S07E01.1080p.HEVC.x265-MeGusta at http://10.69.0.1:9117/dl/digitalcore/?jackett_apikey=**********&path=Q2ZESjhHYmY3RGpaNXhaQWpWOW9nUHQ5bEh5MEZuMy04cnEwYVFpR052SDRiYWdXMkMxTFFmVUVDZjdWcEVrZXRJbzFWMEVRcTJfTHNGS19jbExaV2pOT19HY2o2TjZGTFJaS0pNMmNlT1NXQVF6d08xeUFQbWFwY3hJUTdFOTVwc2ZlS3pYbFlvU0lWTTFjUVBQc3RpN0ZXMHJtZzk0Xy1GZXh3a2dHaWc0WXRWVmg0T1ZTdXZBakh0N1k4Q0JyN2diSU1R&file=Gold.Rush.Parkers.Trail.S07E01.1080p.HEVC.x265-MeGusta

@VeNoMouS
Copy link

VeNoMouS commented Jun 3, 2024

Gold.Rush.Parkers.Trail.S07E01.1080p.HEVC.x265-MeGusta

>>> from guessit import guessit
>>> import json
>>> print(json.dumps(guessit('Gold.Rush.Parkers.Trail.S07E01.1080p.HEVC.x265-MeGusta'), indent=4))
{
    "title": "Gold Rush Parkers Trail",
    "season": 7,
    "episode": 1,
    "screen_size": "1080p",
    "video_codec": "H.265",
    "video_profile": "High Efficiency Video Coding",
    "release_group": "MeGusta",
    "type": "episode"
}
>>>

As you can see it parses the show title fine, the issue will be with how medusa is looking for the string "Gold Rush"

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

2 participants