Skip to content

Commit e6ca501

Browse files
authored
Merge pull request #339 from gstacks13/fix_show_season_0
Fix Show.season(0) not returning 'Specials'
2 parents b25d837 + 58862b7 commit e6ca501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def season(self, title=None):
333333
title (str or int): Title or Number of the season to return.
334334
"""
335335
if isinstance(title, int):
336-
title = 'Season %s' % title
336+
title = 'Season %s' % title if title != 0 else 'Specials'
337337
key = '/library/metadata/%s/children' % self.ratingKey
338338
return self.fetchItem(key, etag='Directory', title__iexact=title)
339339

0 commit comments

Comments
 (0)