@@ -710,7 +710,7 @@ def season(self, title=None, season=None):
710710 Raises:
711711 :exc:`~plexapi.exceptions.BadRequest`: If title or season parameter is missing.
712712 """
713- key = f'{ self .key } /children?excludeAllLeaves=1'
713+ key = f'{ self .key } /children?excludeAllLeaves=1&includeGuids=1 '
714714 if title is not None and not isinstance (title , int ):
715715 return self .fetchItem (key , Season , title__iexact = title )
716716 elif season is not None or isinstance (title , int ):
@@ -723,7 +723,7 @@ def season(self, title=None, season=None):
723723
724724 def seasons (self , ** kwargs ):
725725 """ Returns a list of :class:`~plexapi.video.Season` objects in the show. """
726- key = f'{ self .key } /children?excludeAllLeaves=1'
726+ key = f'{ self .key } /children?excludeAllLeaves=1&includeGuids=1 '
727727 return self .fetchItems (key , Season , container_size = self .childCount , ** kwargs )
728728
729729 def episode (self , title = None , season = None , episode = None ):
@@ -737,7 +737,7 @@ def episode(self, title=None, season=None, episode=None):
737737 Raises:
738738 :exc:`~plexapi.exceptions.BadRequest`: If title or season and episode parameters are missing.
739739 """
740- key = f'{ self .key } /allLeaves'
740+ key = f'{ self .key } /allLeaves?includeGuids=1 '
741741 if title is not None :
742742 return self .fetchItem (key , Episode , title__iexact = title )
743743 elif season is not None and episode is not None :
@@ -746,7 +746,7 @@ def episode(self, title=None, season=None, episode=None):
746746
747747 def episodes (self , ** kwargs ):
748748 """ Returns a list of :class:`~plexapi.video.Episode` objects in the show. """
749- key = f'{ self .key } /allLeaves'
749+ key = f'{ self .key } /allLeaves?includeGuids=1 '
750750 return self .fetchItems (key , Episode , ** kwargs )
751751
752752 def get (self , title = None , season = None , episode = None ):
@@ -906,7 +906,7 @@ def episode(self, title=None, episode=None):
906906 Raises:
907907 :exc:`~plexapi.exceptions.BadRequest`: If title or episode parameter is missing.
908908 """
909- key = f'{ self .key } /children'
909+ key = f'{ self .key } /children?includeGuids=1 '
910910 if title is not None and not isinstance (title , int ):
911911 return self .fetchItem (key , Episode , title__iexact = title )
912912 elif episode is not None or isinstance (title , int ):
0 commit comments