mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 22:24:12 +00:00
fixMatch docstring update
This commit is contained in:
parent
07cf7d16e4
commit
30974f807b
1 changed files with 9 additions and 1 deletions
|
@ -468,7 +468,15 @@ class PlexPartialObject(PlexObject):
|
|||
return self.findItems(data)
|
||||
|
||||
def fixMatch(self, searchResult=None, auto=False):
|
||||
""" Use match result to update show metadata. """
|
||||
""" Use match result to update show metadata.
|
||||
|
||||
Parameters:
|
||||
auto (bool): True uses first match from matches
|
||||
False allows user to provide the match
|
||||
*Auto matching
|
||||
searchResult (:class:`~plexapi.media.SearchResult): Search result from
|
||||
~plexapi.base.matches()
|
||||
"""
|
||||
key = '/library/metadata/%s/match' % self.ratingKey
|
||||
if auto:
|
||||
searchResult = self.matches()[0]
|
||||
|
|
Loading…
Reference in a new issue