mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Minor adjustments
Added logging for netflix style next up and increased webclient message time to 4 seconds instead of 2.
This commit is contained in:
parent
d878c23df0
commit
d6a1a3e919
2 changed files with 2 additions and 1 deletions
|
@ -237,7 +237,7 @@ class WebSocketThread(threading.Thread):
|
|||
elif command == "DisplayMessage":
|
||||
header = arguments[u'Header']
|
||||
text = arguments[u'Text']
|
||||
xbmcgui.Dialog().notification(header, text)
|
||||
xbmcgui.Dialog().notification(header, text, time=4000)
|
||||
elif command == "SendString":
|
||||
string = arguments[u'String']
|
||||
text = '{"jsonrpc": "2.0", "method": "Input.SendText", "params": { "text": "%s", "done": false }, "id": 0}' % string
|
||||
|
|
|
@ -132,6 +132,7 @@ class Service():
|
|||
if (totalTime - playTime <= int(notificationtime) and (lastFile==None or lastFile!=currentFile)):
|
||||
lastFile = currentFile
|
||||
player.autoPlayPlayback()
|
||||
self.logMsg("Netflix style autoplay succeeded.", 2)
|
||||
|
||||
except Exception, e:
|
||||
self.logMsg("Exception in Playback Monitor Service: %s" % e)
|
||||
|
|
Loading…
Reference in a new issue