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

Python tmdb3tv: Allow specials with season number 0 #907

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions mythtv/bindings/python/tmdb3/tmdb3/lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#-----------------------
__title__ = "TheMovieDB.org V3"
__author__ = "Raymond Wagner, Roland Ernst"
__version__ = "0.3.10"
__version__ = "0.3.11"
# 0.1.0 Initial version
# 0.2.0 Add language support, move cache to home directory
# 0.3.0 Enable version detection to allow use in MythTV
Expand All @@ -31,6 +31,7 @@
# 0.3.8 Sort posters by system language or 'en', if not found for given language
# 0.3.9 Support TV lookup
# 0.3.10 Use new API for release dates for movies
# 0.3.11 Allow queries for specials in series in TV lookup

# ~ from optparse import OptionParser
import sys
Expand Down Expand Up @@ -340,7 +341,7 @@ def buildEpisode(args, opts):

# process seasons backwards because it is more likely
# that you have a recent one than an old one
while season_number > 0:
while season_number >= 0:
season = Season(inetref,str(season_number))
if episode_number:
episode = season.episodes[episode_number]
Expand Down
Loading