Update eurostreaming.py

aggiunto autoplay nella home menu
This commit is contained in:
greko17
2019-05-01 10:22:55 +02:00
committed by GitHub
parent 20d86c5678
commit 2c76ae793f
+5 -1
View File
@@ -68,6 +68,8 @@ def mainlist(item):
itemlist = [] itemlist = []
title = '' title = ''
autoplay.init(item.channel, list_servers, list_quality)
itemlist = [ itemlist = [
Item(channel=__channel__, title="Serie TV", Item(channel=__channel__, title="Serie TV",
contentTitle = __channel__, action="serietv", contentTitle = __channel__, action="serietv",
@@ -101,7 +103,9 @@ def mainlist(item):
thumbnail= get_thumb(title, auto = True) thumbnail= get_thumb(title, auto = True)
), ),
] ]
autoplay.show_option(item.channel, itemlist)
return itemlist return itemlist
# ======== def in ordine di menu =========================== # ======== def in ordine di menu ===========================