Ejemplo n.º 1
0
 def onPlayBackStopped(self):
     try:
         bookmarks.deleteBookmark(self.name, self.imdb)
         ok = int(self.currentTime) > 180 and (self.currentTime / self.totalTime) <= .92
         if ok: bookmarks.addBookmark(self.currentTime, self.name, self.imdb)
     except:
         pass
     try:
         ok = self.currentTime / self.totalTime >= .8
         if ok: self.setWatchedStatus()
     except:
         pass
Ejemplo n.º 2
0
 def onPlayBackStopped(self):
     try:
         bookmarks.deleteBookmark(self.name, self.imdb)
         ok = int(self.currentTime) > 180 and (self.currentTime / self.totalTime) <= .92
         if ok: bookmarks.addBookmark(self.currentTime, self.name, self.imdb)
     except:
         pass
     try:
         ok = self.currentTime / self.totalTime >= .9
         if ok: self.setWatchedStatus()
     except:
         pass