Patch plexapi.library.Collections to PlexPartialObject

This commit is contained in:
JonnyWong16
2020-10-20 15:49:29 -07:00
parent ecbe79b5b9
commit ec9e2fe0f0
5 changed files with 48 additions and 25 deletions

View File

@@ -334,7 +334,7 @@ class PlexPartialObject(PlexObject):
search result for a movie often only contain a portion of the attributes a full
object (main url) for that movie contain.
"""
return not self.key or self.key == self._initpath
return not self.key or (self._details_key or self.key) == self._initpath
def isPartialObject(self):
""" Returns True if this is not a full object. """