First working scrobble service

This commit is contained in:
warwickh
2021-09-08 16:25:36 +10:00
parent 469681bf5e
commit 596ddaacdb
7 changed files with 110 additions and 9 deletions

View File

@ -230,9 +230,11 @@ class Connection(object):
viewName = '%s.view' % methodName
req = self._getRequest(viewName)
xbmc.log("Pinging %s"%str(req.full_url),xbmc.LOGDEBUG)
try:
res = self._doInfoReq(req)
except:
except Exception as e:
print("Ping failed %s"%e)
return False
if res['status'] == 'ok':
return True