<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.audio.groove" name="Grooveshark XBMC"
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.audio.groove" name="Grooveshark XBMC"
- version="2.0.9" provider-name="Stephen Denham">
+ version="2.0.10" provider-name="Stephen Denham">
<requires>
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.module.simplejson"/>
<requires>
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.module.simplejson"/>
+2.10.0
+
+Fix sessions bug.
+
2.0.9
Fix for Android temp directory.
2.0.9
Fix for Android temp directory.
# You should have received a copy of the GNU General Public License
# along with xbmc-groove. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU General Public License
# along with xbmc-groove. If not, see <http://www.gnu.org/licenses/>.
-import urllib2, pprint, os, pickle, tempfile, time, re, simplejson, base64, sys, socket, hashlib, getpass
+import urllib2, pprint, os, pickle, time, re, simplejson, base64, sys, socket, hashlib
from blowfish import Blowfish
from blowfish import Blowfish
-SESSION_EXPIRY = 1209600 # 2 weeks
+SESSION_EXPIRY = 120 #1209600 # 2 weeks
# Web app
WEB_APP_URL = "http://xbmc-groove.appspot.com/"
# Web app
WEB_APP_URL = "http://xbmc-groove.appspot.com/"
self._ip = self._getIP()
self._country = self._getCountry()
self._setSavedSession()
self._ip = self._getIP()
self._country = self._getCountry()
self._setSavedSession()
# Call to API
def _callRemote(self, method, params):
# Call to API
def _callRemote(self, method, params):
self._setSavedSession()
return True
return False
self._setSavedSession()
return True
return False
# Gets a stream key and host to get song content
def getSubscriberStreamKey(self, songID):
params = { "songID": songID, "country": self._country }
# Gets a stream key and host to get song content
def getSubscriberStreamKey(self, songID):
params = { "songID": songID, "country": self._country }