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 = {}