add url encoding to time stamp

This commit is contained in:
shaun 2015-08-03 18:36:35 +10:00
parent 560abbcc5d
commit d548ab6e27
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.emby"
name="Emby"
version="1.1.22"
version="1.1.23"
provider-name="Emby.media">
<requires>
<import addon="xbmc.python" version="2.1.0"/>

View file

@ -85,6 +85,8 @@ class LibrarySync(threading.Thread):
lastSync = "2010-01-01T00:00:00Z"
utils.logMsg("Sync Database", "Incremental Sync Setting Last Run Time Loaded : " + lastSync, 0)
lastSync = urllib2.quote(lastSync)
url = "{server}/Emby.Kodi.SyncQueue/{UserId}/" + lastSync + "/GetItems?format=json"
utils.logMsg("Sync Database", "Incremental Sync Get Items URL : " + url, 0)