-
Notifications
You must be signed in to change notification settings - Fork 52
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
TVSeason - Season problems with Shows with the same name and different Year #156
Comments
I fixed the problem for me. I just modified the def seasons(self) to this: See if this fits right in the code of if it needs another adjustment. In my tests it worked. |
Fixes should be posted as pull requests, not as comments |
I had the same issue:
It works when using the fix provided by @fizard:
PR created: #197 |
Thanks for the answer in issue 154, but when I upgraded to version 3.2.1 and tried to do this code:
show=trakt.tv.search('Hunter x Hunter',year=2011)
season = show.seasons[2]
logging.info("season: %s. Season.ext: %s",season,season.ext)
The answer was still this:
season: : Hunter x Hunter Season 2. Season.ext: shows/hunter-x-hunter/seasons/2
(It should be shows/hunter-x-hunter-2011/seasons/2)
But when I do just this before using show.seasons function it shows right. Seems like a problem in "seasons" function (not the search):
logging.info("show.title: %s. show.year: %s. titleObj.yearValue: %s. show.ids: %s. URL: https://trakt.tv/%s",show.title,show.year,titleObj.yearValue,show.ids,show.ext)
Answer:
show.title: Hunter x Hunter. show.year: 2011. titleObj.yearValue: 2011. show.ids: {'ids': {'trakt': 64409, 'slug': 'hunter-x-hunter-2011', 'imdb': 'tt2098220', 'tmdb': 46298, 'tvdb': 252322}}. URL: https://trakt.tv/shows/hunter-x-hunter-2011
Am I missing something?
Originally posted by @fizard in #154 (comment)
The text was updated successfully, but these errors were encountered: