diff --git a/addon.xml b/addon.xml index a91696b9..cf14026e 100644 --- a/addon.xml +++ b/addon.xml @@ -15,13 +15,6 @@ - - - - Settings for the Emby Server - [!IsEmpty(ListItem.DBID) + !StringCompare(ListItem.DBID,-1)] | !IsEmpty(ListItem.Property(embyid)) - - all en diff --git a/contextmenu.py b/contextmenu.py index 891cd5e1..66256dca 100644 --- a/contextmenu.py +++ b/contextmenu.py @@ -24,7 +24,7 @@ import read_embyserver as embyserver import embydb_functions as embydb import kodidb_functions as kodidb import musicutils as musicutils -import PlexAPI +import api def logMsg(msg, lvl=1): utils.logMsg("%s %s" % ("EMBY", "Contextmenu"), msg, lvl) @@ -57,7 +57,7 @@ if __name__ == '__main__': if embyid: item = emby.getItem(embyid) - API = PlexAPI.API(item) + API = api.API(item) userdata = API.getUserData() likes = userdata['Likes'] favourite = userdata['Favorite'] @@ -83,7 +83,7 @@ if __name__ == '__main__': options.append(utils.language(30407)) #delete item - # options.append(utils.language(30409)) + options.append(utils.language(30409)) #addon settings options.append(utils.language(30408))