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