diff --git a/addon.xml b/addon.xml index c96f6e20..8032f788 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/KodiMonitor.py b/resources/lib/KodiMonitor.py index 954fd6ab..d0884da5 100644 --- a/resources/lib/KodiMonitor.py +++ b/resources/lib/KodiMonitor.py @@ -67,14 +67,15 @@ class Kodi_Monitor(xbmc.Monitor): cursor = connection.cursor() cursor.execute("DELETE FROM emby WHERE emby_id = ?", (id,)) connection.commit() + cursor.close - if jsondata != None: + if jsondata: if jsondata.get("type") == "episode": url='{server}/mediabrowser/Items?Ids=' + id + '&format=json' #This is a check to see if the item exists on the server, if it doesn't it may have already been deleted by another client result = DownloadUtils().downloadUrl(url) item = result.get("Items")[0] - if data != "": + if data: return_value = xbmcgui.Dialog().yesno("Confirm Delete", "Delete file on Emby Server?") if return_value: url='{server}/mediabrowser/Items/' + id diff --git a/resources/skins/default/720p/NextUpInfo.xml b/resources/skins/default/720p/NextUpInfo.xml index 1c805113..86f43e3c 100644 --- a/resources/skins/default/720p/NextUpInfo.xml +++ b/resources/skins/default/720p/NextUpInfo.xml @@ -15,6 +15,13 @@ 281 keep + + 110r + 100% + 374 + white.png + ff010101 + Watch Now @@ -93,7 +100,16 @@ orange false + + 52 + 24 + 24 + keep + imdb.png + Control.IsVisible(3003) + + 35 100% 50 40 @@ -101,7 +117,7 @@ B3dddddd - 55 + 90 100% 50 40 diff --git a/resources/skins/default/media/box.png b/resources/skins/default/media/box.png new file mode 100644 index 00000000..6885d23f Binary files /dev/null and b/resources/skins/default/media/box.png differ diff --git a/resources/skins/default/media/imdb.png b/resources/skins/default/media/imdb.png new file mode 100644 index 00000000..459c23a4 Binary files /dev/null and b/resources/skins/default/media/imdb.png differ diff --git a/resources/skins/default/media/progress-bg.png b/resources/skins/default/media/progress-bg.png new file mode 100644 index 00000000..03437607 Binary files /dev/null and b/resources/skins/default/media/progress-bg.png differ diff --git a/resources/skins/default/media/progress-end.png b/resources/skins/default/media/progress-end.png new file mode 100644 index 00000000..06ebe8f0 Binary files /dev/null and b/resources/skins/default/media/progress-end.png differ diff --git a/resources/skins/default/media/white.png b/resources/skins/default/media/white.png new file mode 100644 index 00000000..136602c6 Binary files /dev/null and b/resources/skins/default/media/white.png differ