From 269deec562762de0762f16948246f6184feba0fa Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 9 Jul 2018 17:34:13 -0500 Subject: [PATCH] Add IconUrl Remove dialog when not connected. --- resources/lib/downloadutils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/lib/downloadutils.py b/resources/lib/downloadutils.py index 635d1c2d..7a30b307 100644 --- a/resources/lib/downloadutils.py +++ b/resources/lib/downloadutils.py @@ -114,7 +114,8 @@ class DownloadUtils(object): "SetRepeatMode," "Mute,Unmute,SetVolume," "Play,Playstate,PlayNext,PlayMediaSource" - ) + ), + 'IconUrl': "https://kodi.wiki/images/8/8e/Thumbnail-symbol-transparent.png", } try: @@ -233,7 +234,7 @@ class DownloadUtils(object): requires_server = True if requires_server and (not server or not server.get("Server") or not server.get("UserId")): - xbmcgui.Dialog().ok('Emby for Kodi', "You are not connected to your emby server.") + #xbmcgui.Dialog().ok('Emby for Kodi', "You are not connected to your emby server.") raise Exception("Aborting download, Server Details Error: %s url=%s" % (server, url)) if server_id is None and self.session_requests is not None: # Main server