mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 12:58:26 +00:00
correcting onDeck docstring
This commit is contained in:
parent
1cfc9869d1
commit
8a744f85f4
1 changed files with 3 additions and 1 deletions
|
@ -452,7 +452,9 @@ class Show(Video):
|
|||
return self.findItems(item, library.Hub)
|
||||
|
||||
def onDeck(self):
|
||||
""" Returns a list of :class:`~plexapi.video.video` objects. """
|
||||
""" Returns shows On Deck :class:`~plexapi.video.Video` object.
|
||||
If show is unwatched, return will likely be the first episode.
|
||||
"""
|
||||
data = self._server.query(self._details_key)
|
||||
return self.findItems([item for item in data.iter('OnDeck')][0])[0]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue