From 3be9a8f3a6f316ca1ab3e5e9f93e6b6edc381c77 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 27 Mar 2021 09:19:59 +0100 Subject: [PATCH] Fix VVVVID --- channels/vvvvid.py | 1 + core/support.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/channels/vvvvid.py b/channels/vvvvid.py index 0a035255..149d356b 100644 --- a/channels/vvvvid.py +++ b/channels/vvvvid.py @@ -29,6 +29,7 @@ main_host = host + '/vvvvid/ondemand/' @support.menu def mainlist(item): if conn_id: + host = main_host anime = ['anime/', ('Popolari',['anime/', 'peliculas', 'channel/10002/last/']), ('Nuove Uscite',['anime/', 'peliculas', 'channel/10007/last/']), diff --git a/core/support.py b/core/support.py index c88e325e..6cbb322c 100755 --- a/core/support.py +++ b/core/support.py @@ -709,10 +709,12 @@ def menu(func): item = args['item'] logger.debug(item.channel + ' menu start') host = func.__globals__['host'] + menuHost = args.get('host','') + if menuHost: host = menuHost filename = func.__module__.split('.')[1] single_search = False # listUrls = ['film', 'filmSub', 'tvshow', 'tvshowSub', 'anime', 'animeSub', 'search', 'top', 'topSub'] - listUrls = ['top', 'film', 'tvshow', 'anime', 'search'] + listUrls = ['top', 'film', 'tvshow', 'anime', 'search', 'host'] listUrls_extra = [] dictUrl = {}