/[projects]/misc/xbmc/plugin.video.todic/default.py
ViewVC logotype

Diff of /misc/xbmc/plugin.video.todic/default.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3244 by torben, Mon Feb 18 17:38:13 2019 UTC revision 3245 by torben, Mon Feb 18 18:09:47 2019 UTC
# Line 3  Line 3 
3    
4  '''  '''
5      Todic plugin for XBMC      Todic plugin for XBMC
6      Version 1.7.1      Version 1.7.2
7  '''  '''
8    
9  import sys  import sys
# Line 28  __entrypoint__ = __addon__.getSetting('e Line 28  __entrypoint__ = __addon__.getSetting('e
28  __backend__ = "https://todic.dk/xbmc.php?xbmckey=" + __key__  __backend__ = "https://todic.dk/xbmc.php?xbmckey=" + __key__
29    
30  if __entrypoint__ == "alternative":  if __entrypoint__ == "alternative":
31          __backend__ = "https://alt.todic.dk/xbmc.php?xbmckey=" + __key__      __backend__ = "https://alt.todic.dk/xbmc.php?xbmckey=" + __key__
32    
33  if __entrypoint__ == "testing":  if __entrypoint__ == "testing":
34          __backend__ = "https://todic.dk/xbmc-beta.php?xbmckey=" + __key__      __backend__ = "https://todic.dk/xbmc-beta.php?xbmckey=" + __key__
35            
36  print "[Todic] entrypoint: " + __entrypoint__  print "[Todic] entrypoint: " + __entrypoint__
37  print "[Todic] backend: " + __backend__  print "[Todic] backend: " + __backend__
38    
# Line 148  class TodicPlayer(xbmc.Player): Line 148  class TodicPlayer(xbmc.Player):
148      def tick(self):      def tick(self):
149          #print "[Todic] Tick: " + str( self.isPlaying() )          #print "[Todic] Tick: " + str( self.isPlaying() )
150          if ( self.isPlaying() ):          if ( self.isPlaying() ):
151              tmpTime = self.getTime():              tmpTime = self.getTime()
152    
153              #only report time if it has changed in the mean time              #only report time if it has changed in the mean time
154              if tmpTime != self.playingPosition:              if tmpTime != self.playingPosition:

Legend:
Removed from v.3244  
changed lines
  Added in v.3245

  ViewVC Help
Powered by ViewVC 1.1.20