downloads: fix when autoplay is enabled
This commit is contained in:
@@ -809,7 +809,7 @@ def select_server(item):
|
|||||||
# seleccion = platformtools.dialog_select(config.get_localized_string(70192), ["Auto"] + [s.serverName for s in play_items])
|
# seleccion = platformtools.dialog_select(config.get_localized_string(70192), ["Auto"] + [s.serverName for s in play_items])
|
||||||
|
|
||||||
if seleccion != -1: # not canceled
|
if seleccion != -1: # not canceled
|
||||||
if seleccion.action != 'auto':
|
if seleccion and seleccion.action != 'auto':
|
||||||
update_json(item.path, {
|
update_json(item.path, {
|
||||||
"downloadServer": {"url": seleccion.url, "server": seleccion.server}})
|
"downloadServer": {"url": seleccion.url, "server": seleccion.server}})
|
||||||
return seleccion
|
return seleccion
|
||||||
|
|||||||
Reference in New Issue
Block a user