Update logging
This commit is contained in:
parent
e0642c96cb
commit
1c68668eba
1 changed files with 2 additions and 2 deletions
|
@ -32,10 +32,10 @@ class Main:
|
||||||
# MAIN ENTRY POINT
|
# MAIN ENTRY POINT
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# Parse parameters
|
# Parse parameters
|
||||||
xbmc.log("Full sys.argv received: %s" % sys.argv)
|
xbmc.log("PlexKodiConnect - Full sys.argv received: %s" % sys.argv)
|
||||||
base_url = sys.argv[0]
|
base_url = sys.argv[0]
|
||||||
params = urlparse.parse_qs(sys.argv[2][1:])
|
params = urlparse.parse_qs(sys.argv[2][1:])
|
||||||
xbmc.log("Parameter string: %s" % sys.argv[2])
|
xbmc.log("PlexKodiConnect - Parameter string: %s" % sys.argv[2])
|
||||||
try:
|
try:
|
||||||
mode = params['mode'][0]
|
mode = params['mode'][0]
|
||||||
itemid = params.get('id', '')
|
itemid = params.get('id', '')
|
||||||
|
|
Loading…
Reference in a new issue