Fix info screen and actors not working

This commit is contained in:
croneter 2018-02-23 17:22:57 +01:00
parent bf56160690
commit 919cd6ddfd

View file

@ -62,18 +62,16 @@ class Kodidb_Functions():
strPath, strPath,
strContent, strContent,
strScraper, strScraper,
useFolderNames,
noUpdate, noUpdate,
exclude) exclude)
VALUES (?, ?, ?, ?, ?, ?, ?) VALUES (?, ?, ?, ?, ?, ?)
''' '''
self.cursor.execute(query, (path_id, self.cursor.execute(query, (path_id,
'plugin://%s.movies/' % v.ADDON_ID, 'plugin://%s.movies/' % v.ADDON_ID,
'movies', 'movies',
'metadata.local', 'metadata.local',
0,
1, 1,
1)) 0))
# And TV shows # And TV shows
path_id = self.getPath('plugin://%s.tvshows/' % v.ADDON_ID) path_id = self.getPath('plugin://%s.tvshows/' % v.ADDON_ID)
if path_id is None: if path_id is None:
@ -84,18 +82,16 @@ class Kodidb_Functions():
strPath, strPath,
strContent, strContent,
strScraper, strScraper,
useFolderNames,
noUpdate, noUpdate,
exclude) exclude)
VALUES (?, ?, ?, ?, ?, ?, ?) VALUES (?, ?, ?, ?, ?, ?)
''' '''
self.cursor.execute(query, (path_id, self.cursor.execute(query, (path_id,
'plugin://%s.tvshows/' % v.ADDON_ID, 'plugin://%s.tvshows/' % v.ADDON_ID,
'tvshows', 'tvshows',
'metadata.local', 'metadata.local',
0,
1, 1,
1)) 0))
def getParentPathId(self, path): def getParentPathId(self, path):
""" """