1 2 3 4 5 6 7 8 9 10 11 12 13 14
# -*- coding: utf-8 -*- # KodiAddon # from resources.lib.scraper import myAddon import re import sys # Start of Module addonName = re.search('plugin\://plugin.video.(.+?)/',str(sys.argv[0])).group(1) ma = myAddon(addonName) ma.processAddonEvent()