diff --git a/core/support.py b/core/support.py index 157b689f..bcd42750 100755 --- a/core/support.py +++ b/core/support.py @@ -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) diff --git a/specials/autoplay.py b/specials/autoplay.py index 860afe18..3b15f8bb 100644 --- a/specials/autoplay.py +++ b/specials/autoplay.py @@ -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() \ No newline at end of file