Piccoli Fix

This commit is contained in:
Alhaziel01
2020-06-21 09:35:23 +02:00
parent 161a7ce3ae
commit 1b19dbf460
2 changed files with 2 additions and 7 deletions

View File

@@ -39,13 +39,8 @@ def hdpass_get_servers(item):
for mir_url, srv in scrapertools.find_multiple_matches(mir, patron_option):
mir_url = scrapertools.decodeHtmlentities(mir_url)
log(mir_url)
it = Item(channel=item.channel,
action="play",
fulltitle=item.fulltitle,
it = item.clone(action="play",
quality=quality,
show=item.show,
thumbnail=item.thumbnail,
contentType=item.contentType,
title=srv,
server=srv,
url= mir_url)

View File

@@ -292,5 +292,5 @@ def play_multi_channel(item, itemlist):
break
def servername(server):
path = filetools.join(config.get_runtime_path(), 'servers', server + '.json')
path = filetools.join(config.get_runtime_path(), 'servers', server.lower() + '.json')
return jsontools.load(open(path, "r").read())['name'].upper()