# -*- coding: utf-8 -*-
"""
	luc_kodi Add-on
"""

from sys import argv
from urllib.parse import parse_qsl
from resources.lib.modules import router

if __name__ == '__main__':
	try:
		url = dict(parse_qsl(argv[2].replace('?', '')))
	except:
		from resources.lib.modules import log_utils
		log_utils.error()
		url = {}

	router.router(url)
