We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cfa2f2 commit 1049580Copy full SHA for 1049580
1 file changed
plexapi/video.py
@@ -678,11 +678,11 @@ def show(self):
678
679
def watched(self):
680
""" Returns list of watched :class:`~plexapi.video.Episode` objects. """
681
- return self.episodes(watched=True)
+ return self.episodes(viewCount__gt=0)
682
683
def unwatched(self):
684
""" Returns list of unwatched :class:`~plexapi.video.Episode` objects. """
685
- return self.episodes(watched=False)
+ return self.episodes(viewCount=0)
686
687
def download(self, savepath=None, keep_original_name=False, **kwargs):
688
""" Download video files to specified directory.
0 commit comments