mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-19 06:36:12 +00:00
fixed issue with episode sync
This commit is contained in:
parent
6e9983edba
commit
a05bdeb844
3 changed files with 15 additions and 6 deletions
|
@ -37,6 +37,7 @@ class ReadKodiDB():
|
|||
cursor.execute("SELECT kodi_id, emby_id, checksum FROM emby WHERE media_type=?",("episode",))
|
||||
else:
|
||||
cursor.execute("SELECT kodi_id, emby_id, checksum FROM emby WHERE media_type=? AND parent_id=?",("episode", showid))
|
||||
|
||||
allepisodes = cursor.fetchall()
|
||||
#this will return a list with tuples of all items returned from the database
|
||||
return allepisodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue