Ejemplo n.º 1
0
 def onPlayBackEnded(self):
     try:
         bookmarks.deleteBookmark(self.name, self.imdb)
     except:
         pass
     try:
         self.setWatchedStatus()
     except:
         pass
Ejemplo n.º 2
0
 def onPlayBackEnded(self):
     try:
         bookmarks.deleteBookmark(self.name, self.imdb)
     except:
         pass
     try:
         self.setWatchedStatus()
     except:
         pass
 def onPlayBackStopped(self):
     try:
         bookmarks.deleteBookmark(self.title, self.dbid)
         ok = int(self.currentTime) > 180 and (self.currentTime / self.totalTime) <= .92
         if ok:
             print "adding bookmark: %s : %s" % (self.currentTime, self.dbid)
             bookmarks.addBookmark(self.currentTime, self.title, self.dbid)
     except Exception, e:
         print str(e)
         pass
Ejemplo n.º 4
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
Ejemplo n.º 5
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