Fix Kodi 18 bug
Fix Kodi 18 bug

--- a/resources/lib/controller.py
+++ b/resources/lib/controller.py
@@ -450,7 +450,7 @@
     """ function that waits for playback
     """
     timer = time.time() + timeout
-    while not xbmc.getCondVisibility("Player.IsInternetStream"):
+    while not xbmc.getCondVisibility("Player.HasMedia"):
         xbmc.sleep(50)
         # timeout to prevent infinite loop
         if time.time() > timer: