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 |
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 |
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): |