Advertisement
Guest User

Untitled

a guest
Jun 28th, 2023
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import xbmcaddon
  2. from landingpage import landingrun
  3.  
  4. CWD = xbmcaddon.Addon().getAddonInfo('path')
  5.  
  6. class MyAddon(xbmcaddon.Addon):
  7. def __init__(self):
  8. xbmcaddon.Addon.__init__(self)
  9.  
  10. def defaultrun(self):
  11. print("Running MyAddon")
  12. # Run the landing page window
  13. landingrun()
  14.  
  15. addon = MyAddon()
  16. addon.defaultrun()
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement