Parent Directory | Revision Log | Patch
revision 3251 by torben, Thu Feb 28 11:10:40 2019 UTC | revision 3252 by torben, Thu Feb 28 11:12:40 2019 UTC | |
---|---|---|
# | Line 366 def play_real_video(url, name, position) | Line 366 def play_real_video(url, name, position) |
366 | player = TodicPlayer() | player = TodicPlayer() |
367 | player.play(str(url), listitem) | player.play(str(url), listitem) |
368 | ||
# kan ikke loade subtitles hvis foerend playeren koerer | ||
count = 0 | ||
while not xbmc.Player().isPlaying(): | ||
xbmc.sleep(250) | ||
count += 1 | ||
if count > 10: | ||
break | ||
369 | ||
370 | #Holder python kørernde indtil at det bliver bedt om at stoppe | #Holder python kørernde indtil at det bliver bedt om at stoppe |
371 | while (not xbmc.abortRequested): | while (not xbmc.abortRequested): |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |