Skip to content

TVSeason - Season problems with Shows with the same name and different Year #156

@cristianoisaac

Description

@cristianoisaac

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions