X-Git-Url: https://git.hcoop.net/clinton/xbmc-groove.git/blobdiff_plain/8b52a99b3785291230638d6ea1d388e1da0599b7..b244bfd68a6f12f7e5895c8f3dfcccf5332ba4da:/resources/lib/GroovesharkAPI.py diff --git a/resources/lib/GroovesharkAPI.py b/resources/lib/GroovesharkAPI.py index 21e2bc1..c34d3ea 100644 --- a/resources/lib/GroovesharkAPI.py +++ b/resources/lib/GroovesharkAPI.py @@ -129,7 +129,7 @@ class GrooveAPI: return '' def _getSavedSession(self): - path = os.path.join(self.cacheDir, 'session.dmp') + path = os.path.join(self.cacheDir, 'groovesharksession.dmp') try: f = open(path, 'rb') session = pickle.load(f) @@ -152,7 +152,7 @@ class GrooveAPI: # Create the directory if it doesn't exist. if not os.path.exists(self.cacheDir): os.makedirs(self.cacheDir) - path = os.path.join(self.cacheDir, 'session.dmp') + path = os.path.join(self.cacheDir, 'groovesharksession.dmp') f = open(path, 'wb') session = { 'sessionID' : self._sessionID, 'lastSessionTime' : self._lastSessionTime, 'userID': self._userID, 'ip' : self._ip, 'country' : self._country } pickle.dump(session, f, protocol=pickle.HIGHEST_PROTOCOL)