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.
1 parent 5980abe commit 58862b7Copy full SHA for 58862b7
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