mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
parent
874281828a
commit
e0a213c5e4
1 changed files with 5 additions and 2 deletions
|
@ -44,8 +44,11 @@ class Video(PlexPartialObject):
|
|||
@property
|
||||
def isWatched(self):
|
||||
""" Returns True if this video is watched. """
|
||||
return bool(self.viewCount > 0)
|
||||
|
||||
if not self.viewCount:
|
||||
return False
|
||||
else:
|
||||
return bool(self.viewCount > 0)
|
||||
|
||||
@property
|
||||
def thumbUrl(self):
|
||||
""" Return url to for the thumbnail image. """
|
||||
|
|
Loading…
Reference in a new issue