From 585b1ac64e2913fc418e147bd19c4223d4e5106f Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 13 May 2015 13:30:56 -0500 Subject: [PATCH] Revert "Retrying retrieving sessionId" This reverts commit a303f732736f90c94b1058d10283706b7ff86010. --- resources/lib/DownloadUtils.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/resources/lib/DownloadUtils.py b/resources/lib/DownloadUtils.py index ba06efb4..1ed17c6f 100644 --- a/resources/lib/DownloadUtils.py +++ b/resources/lib/DownloadUtils.py @@ -84,19 +84,6 @@ class DownloadUtils(): except: self.logMsg("Posted capabilities failed.") - # Attempt at getting sessionId - url = "{server}/mediabrowser/Sessions?DeviceId=%s&format=json" % deviceId - - try: - result = self.downloadUrl(url) - self.logMsg("Session: %s" % result, 2) - - sessionId = result[0][u'Id'] - self.logMsg("SessionId: %s" % sessionId) - self.WINDOW.setProperty("sessionId%s" % self.username, sessionId) - except: - self.logMsg("Failed to retrieve sessionId.", 1) - def startSession(self): self.deviceId = self.clientInfo.getMachineId()