mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 21:08:27 +00:00
Add searchMovies method to MovieSection
This commit is contained in:
parent
abbace6792
commit
146a184838
1 changed files with 4 additions and 0 deletions
|
@ -969,6 +969,10 @@ class MovieSection(LibrarySection):
|
|||
METADATA_TYPE = 'movie'
|
||||
CONTENT_TYPE = 'video'
|
||||
|
||||
def searchMovies(self, **kwargs):
|
||||
""" Search for a movie. See :func:`~plexapi.library.LibrarySection.search` for usage. """
|
||||
return self.search(libtype='movie', **kwargs)
|
||||
|
||||
def sync(self, videoQuality, limit=None, unwatched=False, **kwargs):
|
||||
""" Add current Movie library section as sync item for specified device.
|
||||
See description of :func:`~plexapi.library.LibrarySection.search` for details about filtering / sorting and
|
||||
|
|
Loading…
Add table
Reference in a new issue