finished the videonodes building, also localized the labels and moved generation to startup

added tvdb field to tv shows for compatability with kodi addons
added country field to movies
This commit is contained in:
Marcel van der Veldt 2015-05-05 16:16:34 +02:00
parent aed5abf16d
commit 8e8c80980f
6 changed files with 311 additions and 216 deletions

View file

@ -62,6 +62,9 @@ class LibrarySync():
if not startupDone:
cursor.execute("CREATE TABLE IF NOT EXISTS emby(emby_id TEXT, kodi_id INTEGER, media_type TEXT, checksum TEXT, parent_id INTEGER)")
connection.commit()
### BUILD VIDEO NODES LISTING ###
utils.buildVideoNodesListing()
# sync movies
self.MoviesFullSync(connection,cursor,pDialog)
@ -245,7 +248,6 @@ class LibrarySync():
for kodishow in allKodiTvShows:
allKodiTvShowIds.append(kodishow[1])
#### TVSHOW: PROCESS ADDS AND UPDATES ###
for item in allEmbyTvShows: