Series pooling adjustment

Only verify if the emby/kodi reference doesn't exist yet.
This commit is contained in:
angelblue05 2016-09-25 02:33:39 -05:00
parent c823be1daa
commit bc819bdbf5

View file

@ -1054,7 +1054,7 @@ class TVShows(Items):
studio = " / ".join(studios) studio = " / ".join(studios)
# Verify series pooling # Verify series pooling
if tvdb: if not update_item and tvdb:
query = "SELECT idShow FROM tvshow WHERE C12 = ?" query = "SELECT idShow FROM tvshow WHERE C12 = ?"
kodicursor.execute(query, (tvdb,)) kodicursor.execute(query, (tvdb,))
try: try: