diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index ab753d08..cc00eada 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -387,7 +387,7 @@ def refreshPlaylist(): lib.refreshViews() dialog.notification( heading="Emby for Kodi", - message="Emby playlist refreshed!", + message="Emby playlist refreshed", icon="special://home/addons/plugin.video.emby/icon.png", time=1000, sound=False) @@ -395,8 +395,8 @@ def refreshPlaylist(): utils.logMsg("EMBY", "Refresh playlist failed: %s" % e, 1) dialog.notification( heading="Emby for Kodi", - message="Emby playlist refresh failed!", - icon="special://home/addons/plugin.video.emby/icon.png", + message="Emby playlist refresh failed", + icon=xbmcgui.NOTIFICATION_ERROR, time=1000, sound=False) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 7f9f4efe..35eb26b3 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -296,7 +296,7 @@ class LibrarySync(threading.Thread): utils.window('emby_dbScan', clear=True) xbmcgui.Dialog().notification( heading="Emby for Kodi", - message="%s completed in: %s!" % + message="%s completed in: %s" % (message, str(elapsedtotal).split('.')[0]), icon="special://home/addons/plugin.video.emby/icon.png", sound=False) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 26ff601b..3c2df45a 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -376,7 +376,7 @@ def passwordsXML(): settings('networkCreds', value="") xbmcgui.Dialog().notification( heading="Emby for Kodi", - message="%s removed from passwords.xml!" % credentials, + message="%s removed from passwords.xml" % credentials, icon="special://home/addons/plugin.video.emby/icon.png", time=1000, sound=False) @@ -435,7 +435,7 @@ def passwordsXML(): dialog.notification( heading="Emby for Kodi", - message="%s added to passwords.xml!" % server, + message="%s added to passwords.xml" % server, icon="special://home/addons/plugin.video.emby/icon.png", time=1000, sound=False)