Don't repeatedly show PMS offline message

This commit is contained in:
tomkat83 2016-12-17 14:01:00 +01:00
parent 0ff7d81ab3
commit 43d4f69e5c

View file

@ -242,14 +242,6 @@ class InitialSetup():
log.warn('The PMS you have used before with a unique ' log.warn('The PMS you have used before with a unique '
'machineIdentifier of %s and name %s is ' 'machineIdentifier of %s and name %s is '
'offline' % (self.serverid, name)) 'offline' % (self.serverid, name))
# "PMS xyz offline"
if settings('show_pms_offline') == 'true':
self.dialog.notification(addonName,
'%s %s'
% (name, lang(39213)),
xbmcgui.NOTIFICATION_ERROR,
7000,
False)
return return
chk = self._checkServerCon(server) chk = self._checkServerCon(server)
if chk == 504 and httpsUpdated is False: if chk == 504 and httpsUpdated is False: