/[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 3144 by torben, Wed Nov 23 08:09:53 2016 UTC revision 3146 by torben, Wed Nov 23 09:44:02 2016 UTC
# Line 3  Line 3 
3    
4  '''  '''
5      Todic plugin for XBMC      Todic plugin for XBMC
6      Version 0.0.17      Version 0.0.18
7  '''  '''
8    
9  import sys  import sys
# Line 319  def play_real_video(url, name): Line 319  def play_real_video(url, name):
319      # kan ikke loade subtitles hvis foerend playeren koerer      # kan ikke loade subtitles hvis foerend playeren koerer
320      count = 0      count = 0
321      while not xbmc.Player().isPlaying():      while not xbmc.Player().isPlaying():
322          xbmc.sleep(500)          xbmc.sleep(250)
323          count += 1          count += 1
324          if count > 10:          if count > 10:
325              break              break
# Line 334  def play_real_video(url, name): Line 334  def play_real_video(url, name):
334          #Holder python kørernde indtil at det bliver bedt om at stoppe          #Holder python kørernde indtil at det bliver bedt om at stoppe
335          while (not xbmc.abortRequested):          while (not xbmc.abortRequested):
336                  player.tick()                  player.tick()
337                  xbmc.sleep(100)                  xbmc.sleep(250)
338    
339    
340    

Legend:
Removed from v.3144  
changed lines
  Added in v.3146

  ViewVC Help
Powered by ViewVC 1.1.20