Skip to content

Commit 30974f8

Browse files
committed
fixMatch docstring update
1 parent 07cf7d1 commit 30974f8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

plexapi/base.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,15 @@ def matches(self, auto=False, agent=None, title=None, year=None, language=None):
468468
return self.findItems(data)
469469

470470
def fixMatch(self, searchResult=None, auto=False):
471-
""" Use match result to update show metadata. """
471+
""" Use match result to update show metadata.
472+
473+
Parameters:
474+
auto (bool): True uses first match from matches
475+
False allows user to provide the match
476+
*Auto matching
477+
searchResult (:class:`~plexapi.media.SearchResult): Search result from
478+
~plexapi.base.matches()
479+
"""
472480
key = '/library/metadata/%s/match' % self.ratingKey
473481
if auto:
474482
searchResult = self.matches()[0]

0 commit comments

Comments
 (0)