mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 05:36:12 +00:00
Add contextmenu for emby settings (used to update ratings)
Add ratings sync for music files (get rating details from music files and sync back to emby)
This commit is contained in:
parent
2e4e983acd
commit
0817085ada
88 changed files with 15314 additions and 27 deletions
|
@ -128,10 +128,11 @@ class Embydb_Functions():
|
|||
"FROM emby",
|
||||
"WHERE emby_id = ?"
|
||||
))
|
||||
embycursor.execute(query, (embyid,))
|
||||
item = embycursor.fetchone()
|
||||
|
||||
return item
|
||||
try:
|
||||
embycursor.execute(query, (embyid,))
|
||||
item = embycursor.fetchone()
|
||||
return item
|
||||
except: return None
|
||||
|
||||
def getItem_byView(self, mediafolderid):
|
||||
|
||||
|
@ -291,4 +292,5 @@ class Embydb_Functions():
|
|||
def removeItem(self, embyid):
|
||||
|
||||
query = "DELETE FROM emby WHERE emby_id = ?"
|
||||
self.embycursor.execute(query, (embyid,))
|
||||
self.embycursor.execute(query, (embyid,))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue