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

Season match inconsistency #678

Open
ratoaq2 opened this issue Jul 27, 2016 · 2 comments
Open

Season match inconsistency #678

ratoaq2 opened this issue Jul 27, 2016 · 2 comments
Assignees

Comments

@ratoaq2
Copy link
Collaborator

ratoaq2 commented Jul 27, 2016

For the latest version: 2.0.3

There's a season match inconsistency when release names have no season (I'll provide real examples later today).

Given a video file as bellow:
Show.Name.E05.720p.x264.mkv

The created video object will have season 1, since guessit will not return season, but this code will default it to 1.

Then when the subtitles (e.g.: Show.Name.E05.720p.x264,srt) are found (by any provider), some/most of them will use guessit to retrieve all the release information and this code will prevent a season match, since video.season == 1 but 'season' is not in guess

Either the season shouldn't be defaulted to 1 in the video or the compute score should follow the same logic.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Diaoul
Copy link
Owner

Diaoul commented Aug 16, 2016

I agree on that. The code you linked to was introduced to handle mini-series that don't have a season number in the filename. Something more clever is needed here.

@ratoaq2
Copy link
Collaborator Author

ratoaq2 commented Sep 4, 2016

Just to illustrate and give some real examples, there are series that doesn't follow season/episode numbering on their release names. Not all providers have subtitles for those series.
Here are some examples of episodes without season and/or episode numbers:

  • Air by date (guessit: date): documentaries episodes or talk shows
    Catalyst.2015.11.10.Einstein.360p.LDTV.WEBRIP.[MPup]
    Eastenders.2016.05.27.HDTV.x264-DEADPOOL
  • Absolute episode numbering (guessit: episode): animes
    Kiznaiver.E06.SUBFRENCH.720p.HDTV.x264-D4KiD
  • Absolute episode using part (guessit: part):
    The.Night.Of.Part.8.INTERNAL.720p.HDTV.x264

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