mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-26 10:00:33 +00:00
WIP: parent path id
This commit is contained in:
parent
0473c1eb77
commit
1a3f312057
5 changed files with 29 additions and 28 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue