Skip to content

Commit 2a6aaac

Browse files
authored
Merge pull request #404 from zSeriesGuy/SpeedUpLibraryGet
Speed up Library Section Get
2 parents 0a7b3ed + 442c55a commit 2a6aaac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def get(self, title):
385385
Parameters:
386386
title (str): Title of the item to return.
387387
"""
388-
key = '/library/sections/%s/all' % self.key
388+
key = '/library/sections/%s/all?title=%s' % (self.key, title)
389389
return self.fetchItem(key, title__iexact=title)
390390

391391
def all(self, sort=None, **kwargs):

0 commit comments

Comments
 (0)