WIP: parent path id

This commit is contained in:
GrégoireDruant 2023-05-05 18:24:10 +02:00
parent 0473c1eb77
commit 1a3f312057
5 changed files with 29 additions and 28 deletions

View file

@ -71,19 +71,10 @@ class JellyfinDatabase():
except TypeError:
return
def get_season_kodi_parent_path_id(self, *args):
try:
self.cursor.execute(QU.get_season_kodi_parent_path_id_obj, args)
return self.cursor.fetchone()[0]
except TypeError:
return
def get_episode_kodi_parent_path_id(self, *args):
try:
self.cursor.execute(QU.get_episode_kodi_parent_path_id_obj, args)
self.cursor.execute(QU.get_episode_kodi_parent_path_id, args)
return self.cursor.fetchone()[0]
except TypeError: