mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 08:53:37 +00:00
Fix for XBMC notifier
This commit is contained in:
parent
356ac845d4
commit
c7e58cadb5
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class XBMCNotifier:
|
|||
command = '{"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"%s","message":"%s", "image": "%s"},"id":1}' % (
|
||||
title.encode("utf-8"), message.encode("utf-8"), self.sb_logo_url)
|
||||
notifyResult = self._send_to_xbmc_json(command, curHost, username, password)
|
||||
if len(notifyResult) and getattr(notifyResult, 'result', None):
|
||||
if getattr(notifyResult, 'result', None):
|
||||
result += curHost + ':' + notifyResult["result"].decode(sickbeard.SYS_ENCODING)
|
||||
else:
|
||||
if sickbeard.XBMC_ALWAYS_ON or force:
|
||||
|
|
Loading…
Reference in a new issue