mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-24 20:53:09 +00:00
Fix example in documentation
This commit is contained in:
parent
b5e29fdb28
commit
60ba091ecb
1 changed files with 4 additions and 5 deletions
|
@ -55,11 +55,10 @@ Usage Examples
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
# Example 1: List all unwatched content in library.
|
||||
for section in plex.library.sections():
|
||||
print('Unwatched content in %s:' % section.title)
|
||||
for video in section.unwatched():
|
||||
print(' %s' % video.title)
|
||||
# Example 1: List all unwatched movies.
|
||||
movies = plex.library.section('Movies')
|
||||
for video in movies.search(unwatched=True):
|
||||
print(video.title)
|
||||
|
||||
|
||||
.. code-block:: python
|
||||
|
|
Loading…
Reference in a new issue