Add IconUrl

Remove dialog when not connected.
This commit is contained in:
angelblue05 2018-07-09 17:34:13 -05:00
parent 2f2323b41a
commit 269deec562

View File

@ -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