Skip to content

Commit

Permalink
Merge pull request #11243 from pymedusa/release/release-1.0.15
Browse files Browse the repository at this point in the history
Release/release 1.0.15
  • Loading branch information
medariox authored May 21, 2023
2 parents f694e94 + b0f3399 commit d45f98c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.0.15 (21-05-2023)

#### Fixes
- Fix error with malformed TVDB data missing links

-----

## 1.0.14 (20-05-2023)

#### Improvements
Expand Down
2 changes: 1 addition & 1 deletion medusa/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
log.logger.addHandler(logging.NullHandler())

INSTANCE_ID = text_type(uuid.uuid1())
VERSION = '1.0.14'
VERSION = '1.0.15'

USER_AGENT = 'Medusa/{version} ({system}; {release}; {instance})'.format(
version=VERSION, system=platform.system(), release=platform.release(),
Expand Down
6 changes: 4 additions & 2 deletions medusa/indexers/tvdbv2/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ def _query_series(self, tvdb_id, specials=False, aired_season=None, full_info=Fa
)
if paged_episodes.data:
results += paged_episodes.data
last = paged_episodes.links.last
if paged_episodes.links:
last = paged_episodes.links.last
page += 1
else:
while page <= last:
Expand All @@ -279,7 +280,8 @@ def _query_series(self, tvdb_id, specials=False, aired_season=None, full_info=Fa
)
if paged_episodes.data:
results += paged_episodes.data
last = paged_episodes.links.last
if paged_episodes.links:
last = paged_episodes.links.last
page += 1

if results and full_info:
Expand Down

0 comments on commit d45f98c

Please sign in to comment.