Advertisement
Guest User

plugin.video.acesvideo/default.py

a guest
Aug 2nd, 2023
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. from lib import utils
  3.  
  4. import xbmcgui
  5.  
  6. BASE_URL = utils.ADDON.getSetting("baseUrl")
  7.  
  8. def ActionMainMenu(params):
  9.     listing = utils.Listing()
  10.  
  11.     listing.addItem(
  12.         "Title",
  13.         utils.ADDON_ICON,
  14.         { "action": "ActionWatchEpisode" },
  15.         IsPlayable="true"
  16.     )
  17.  
  18.     listing.show()
  19.  
  20. def ActionWatchEpisode(params):
  21.     utils.PlayVideo(None)
  22.  
  23. if __name__ == "__main__":
  24.     utils.Main(globals())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement