We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b25d837 + 58862b7 commit e6ca501Copy full SHA for e6ca501
plexapi/video.py
@@ -333,7 +333,7 @@ def season(self, title=None):
333
title (str or int): Title or Number of the season to return.
334
"""
335
if isinstance(title, int):
336
- title = 'Season %s' % title
+ title = 'Season %s' % title if title != 0 else 'Specials'
337
key = '/library/metadata/%s/children' % self.ratingKey
338
return self.fetchItem(key, etag='Directory', title__iexact=title)
339
0 commit comments