diff --git a/addon.xml b/addon.xml index 345bdc1f..16aa485d 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 0951a793..d9622e21 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -314,7 +314,7 @@ class PlaybackUtils(): ############### PLAYBACK ################ - if homeScreen and seektime: + if homeScreen and seektime and utils.window('emby_customPlaylist') != "true": self.logMsg("Play as a widget item.", 1) self.setListItem(listitem) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listitem) diff --git a/resources/lib/websocket_client.py b/resources/lib/websocket_client.py index 6ef433a5..d657b631 100644 --- a/resources/lib/websocket_client.py +++ b/resources/lib/websocket_client.py @@ -296,7 +296,7 @@ class WebSocket_Client(threading.Thread): while not monitor.abortRequested(): - self.client.run_forever() + self.client.run_forever(ping_interval = 10) if self.stopWebsocket: break