Allow popup time setting 0 to disable notification

For the newly added content notification
This commit is contained in:
angelblue05 2016-02-12 17:23:07 -06:00
parent 26836fb536
commit 03d016797c

View file

@ -211,6 +211,9 @@ class Items(object):
return (True, update_videolibrary)
def contentPop(self, name, time=5000):
if time:
# It's possible for the time to be 0. It should be considered disabled in this case.
xbmcgui.Dialog().notification(
heading="Emby for Kodi",
message="Added: %s" % name,