Opzione per nascondere i server da Autoplay

This commit is contained in:
Alhaziel
2019-12-28 20:00:10 +01:00
parent 3c541ab081
commit aaf906e2e7
5 changed files with 12 additions and 2 deletions

View File

@@ -979,6 +979,7 @@ def controls(itemlist, item, AutoPlay=True, CheckLinks=True, down_load=True):
channel_node = autoplay_node.get(item.channel, {})
settings_node = channel_node.get('settings', {})
AP = get_setting('autoplay') or settings_node['active']
APS = get_setting('autoplay_server_list')
if CL and not AP:
if get_setting('checklinks', item.channel):
@@ -1007,7 +1008,7 @@ def controls(itemlist, item, AutoPlay=True, CheckLinks=True, down_load=True):
VL = True
except:
pass
if not AP or VL:
if not AP or VL or not APS:
return itemlist
def filterLang(item, itemlist):