Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import xbmcaddon
- import landingpage
- from landingpage import landingrun
- class MyAddon(xbmcaddon.Addon):
- def __init__(self):
- xbmcaddon.Addon.__init__(self)
- def defaultrun(self):
- print("Running MyAddon")
- # Run the landing page window
- landingrun()
- #initialize instance of MyAddon as addon
- addon = MyAddon()
- addon.defaultrun()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement