Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import xbmcaddon
- import xbmcgui
- import os
- __addon__ = xbmcaddon.Addon()
- __addonname__ = __addon__.getAddonInfo('name')
- line1 = "Sul tuo sistema è installato il plugin.video.streamondemand-pureita"
- line2 = "StreamOndemand non è compatibile con quel plugin"
- line3 = "Se vuoi utilizzare StreamOndemand disinstalla il plugin.video.streamondemand-pureita"
- kickaddon = xbmcaddon.Addon('plugin.video.streamondemand-pureita')
- def script_chk(kickaddon):
- return xbmc.getCondVisibility('System.HasAddon(%s)' % kickaddon) == 1
- if kickaddon is 0:
- print 'kickaddon is False'
- else:
- xbmcgui.Dialog().ok(__addonname__, line1, line2, line3)
- quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement