+dynamic channel url
implementing dynamic channel url, if url doesnt exists in macrojson get it from user preferences. (dont know why EOF keeps changing and git committing +1000 files.)
This commit is contained in:
@@ -9,7 +9,10 @@ from platformcode import logger, config
|
||||
from specials import autoplay
|
||||
|
||||
#URL che reindirizza sempre al dominio corrente
|
||||
host = "https://altadefinizione01.to"
|
||||
#host = "https://altadefinizione01.to"
|
||||
|
||||
__channel__ = "altadefinizione01"
|
||||
host = config.get_addon_version(__channel__)
|
||||
|
||||
IDIOMAS = {'Italiano': 'IT'}
|
||||
list_language = IDIOMAS.values()
|
||||
|
||||
@@ -12,10 +12,7 @@ from platformcode import config, logger
|
||||
from specials import autoplay, filtertools
|
||||
|
||||
__channel__ = "altadefinizione01_club"
|
||||
|
||||
#host = "https://www.altadefinizione01.club/" # host da cambiare
|
||||
#host = "https://www.altadefinizione01.team/" #aggiornato al 22 marzo 2019
|
||||
host = "https://www.altadefinizione01.vision/" #aggiornato al 30-04-209
|
||||
host = config.get_channel_url(__channel__)
|
||||
|
||||
# ======== Funzionalità =============================
|
||||
|
||||
|
||||
@@ -13,19 +13,13 @@ from platformcode import config, logger
|
||||
|
||||
__channel__ = "altadefinizione01_link"
|
||||
|
||||
#host = "https://altadefinizione01.link/" #riaggiornato al 29 aprile 2019
|
||||
#host = "http://altadefinizione01.art/" # aggiornato al 22 marzo 2019
|
||||
#host = "https://altadefinizione01.network/" #aggiornato al 22 marzo 2019
|
||||
#host = "http://altadefinizione01.date/" #aggiornato al 3 maggio 2019
|
||||
#host = "https://altadefinizione01.voto/" #aggiornato al 3 maggio 2019
|
||||
#host = "https://altadefinizione01.estate/" # aggiornato al 23 maggio 2019
|
||||
|
||||
# ======== def per utility INIZIO ============================
|
||||
|
||||
list_servers = ['supervideo', 'streamcherry','rapidvideo', 'streamango', 'openload']
|
||||
list_quality = ['default']
|
||||
|
||||
host = config.get_setting("channel_host", __channel__)
|
||||
#host = config.get_setting("channel_host", __channel__)
|
||||
host = config.get_channel_url(__channel__)
|
||||
checklinks = config.get_setting('checklinks', __channel__)
|
||||
checklinks_number = config.get_setting('checklinks_number', __channel__)
|
||||
|
||||
|
||||
@@ -10,7 +10,9 @@ from core.item import Item
|
||||
from platformcode import logger, config
|
||||
from specials import autoplay
|
||||
|
||||
host = config.get_setting("channel_host", 'altadefinizioneclick')
|
||||
#host = config.get_setting("channel_host", 'altadefinizioneclick')
|
||||
__channel__ = 'altadefinizioneclick'
|
||||
host = config.get_channel_url(__channel__)
|
||||
|
||||
IDIOMAS = {'Italiano': 'IT'}
|
||||
list_language = IDIOMAS.values()
|
||||
|
||||
Reference in New Issue
Block a user