fix actor images: don't need the thumb prefix after all

This commit is contained in:
Marcel van der Veldt 2015-04-02 19:19:29 +02:00
parent 1a2956c815
commit 850f75e160

View file

@ -1277,7 +1277,7 @@ class WriteKodiDB():
Name = person.get("Name") Name = person.get("Name")
Role = person.get("Role") Role = person.get("Role")
actorid = None actorid = None
Thumb = "<thumb>" + downloadUtils.imageUrl(person.get("Id"), "Primary", 0, 400, 400) + "</thumb>" Thumb = downloadUtils.imageUrl(person.get("Id"), "Primary", 0, 400, 400)
cursor.execute("SELECT idActor as actorid FROM actors WHERE strActor = ?",(Name,)) cursor.execute("SELECT idActor as actorid FROM actors WHERE strActor = ?",(Name,))
result = cursor.fetchone() result = cursor.fetchone()
if result != None: if result != None: