A пре 4 година
родитељ
комит
78d85a371d
2 измењених фајлова са 4 додато и 2 уклоњено
  1. 2 0
      .gitignore
  2. 2 2
      src/plugin.py

+ 2 - 0
.gitignore

@@ -1 +1,3 @@
 .idea
+output
+tmp*

+ 2 - 2
src/plugin.py

@@ -383,10 +383,10 @@ def play_episode(episode_id=0, ask_playlist=0):
 
         tried = 0
         while not server.__port__:
-            xbmc.sleep(1)
+            xbmc.sleep(250)
             tried += 1
 
-            if tried > 10:
+            if tried > 25:
                 raise Exception("Failed to start Playserver")
 
         play_port = server.__port__