/[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 3159 by torben, Thu Dec 1 14:40:49 2016 UTC revision 3163 by torben, Mon Dec 5 20:22:35 2016 UTC
# Line 3  Line 3 
3    
4  '''  '''
5      Todic plugin for XBMC      Todic plugin for XBMC
6      Version 0.1.3      Version 0.1.5
7  '''  '''
8    
9  import sys  import sys
# Line 102  class TodicPlayer(xbmc.Player): Line 102  class TodicPlayer(xbmc.Player):
102    
103      def __init__(self, *args, **kwargs):      def __init__(self, *args, **kwargs):
104          # xbmc.Player.__init__(selv,*args,**kwargs)          # xbmc.Player.__init__(selv,*args,**kwargs)
105          xbmc.Player.__init__(self, xbmc.PLAYER_CORE_MPLAYER)          xbmc.Player.__init__(self)
106          self.stopped = False          self.stopped = False
107          self.started = False          self.started = False
108          self.playingPosition = 0.0          self.playingPosition = 0.0
# Line 368  def play_real_video(url, name, position) Line 368  def play_real_video(url, name, position)
368              player.setSubtitles(subtitlesfile)              player.setSubtitles(subtitlesfile)
369              print '[Todic] started subtitles'              print '[Todic] started subtitles'
370          else:          else:
371              player.disableSubtitles()              player.showSubtitles(False)
372    
373    
374          if (position > 0):          if (position > 0):

Legend:
Removed from v.3159  
changed lines
  Added in v.3163

  ViewVC Help
Powered by ViewVC 1.1.20