/[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 3150 by torben, Thu Nov 24 18:55:35 2016 UTC revision 3151 by torben, Thu Nov 24 19:55:00 2016 UTC
# Line 3  Line 3 
3    
4  '''  '''
5      Todic plugin for XBMC      Todic plugin for XBMC
6      Version 0.0.21a      Version 0.0.21b
7  '''  '''
8    
9  import sys  import sys
# Line 157  class TodicPlayer(xbmc.Player): Line 157  class TodicPlayer(xbmc.Player):
157    
158    
159      def reportPlaytime(self, subaction):      def reportPlaytime(self, subaction):
160          url = __backend__ + "&action=playbacktime&subaction=" + subaction + "&time=" + str( self.playingPosition )          if (self.playingPosition > 60):
161          open_url_safe(url)              url = __backend__ + "&action=playbacktime&subaction=" + subaction + "&time=" + str( self.playingPosition )
162          print "[Todic] reportPlaytime:" + url              print "[Todic] reportPlaytime:" + url
163                open_url_safe(url)
164    
165                                    
166    
167    

Legend:
Removed from v.3150  
changed lines
  Added in v.3151

  ViewVC Help
Powered by ViewVC 1.1.20