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.
fetchItem
MyPlexAccount.userState()
1 parent 71d11a4 commit 13282f1Copy full SHA for 13282f1
plexapi/myplex.py
@@ -860,8 +860,7 @@ def userState(self, item):
860
"""
861
ratingKey = item.guid.rsplit('/', 1)[-1]
862
data = self.query(f"{self.METADATA}/library/metadata/{ratingKey}/userState")
863
- # TODO: change to findItem after PR#931 is merged
864
- return self.findItems(data, cls=UserState)[0]
+ return self.findItem(data, cls=UserState)
865
866
def searchDiscover(self, query, limit=30, libtype=None):
867
""" Search for movies and TV shows in Discover.
0 commit comments