From 6f2b34a85780ea0958590c7ea623860704730d9f Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 6 Nov 2021 12:24:39 +0100 Subject: [PATCH 1/2] Fix Navigazione finestra Trailers --- specials/trailertools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specials/trailertools.py b/specials/trailertools.py index 99f663c9..3bc24bf8 100644 --- a/specials/trailertools.py +++ b/specials/trailertools.py @@ -276,7 +276,8 @@ try: def onInit(self): try: self.control_list = self.getControl(6) - self.getControl(5).setNavigation(self.control_list, self.control_list, self.control_list, self.control_list) + self.getControl(5).setNavigation(self.getControl(7), self.getControl(7), self.control_list, self.control_list) + self.getControl(7).setNavigation(self.getControl(5), self.getControl(5), self.control_list, self.control_list) self.getControl(8).setEnabled(0) self.getControl(8).setVisible(0) except: From 5fec26bd6cda2af1722af1498a1367f72042cad1 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 6 Nov 2021 12:50:35 +0100 Subject: [PATCH 2/2] Fix Riapertura Finestra Trailers --- specials/trailertools.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/specials/trailertools.py b/specials/trailertools.py index 3bc24bf8..741b4ed1 100644 --- a/specials/trailertools.py +++ b/specials/trailertools.py @@ -216,7 +216,7 @@ def youtube_search(item): scrapedtitle = "%s" % scrapedtitle url = urlparse.urljoin('https://www.youtube.com/', scrapedurl) itemlist.append(del_id(item.clone(title=scrapedtitle, title2='Youtube - ' + scrapedduration, action="play", server="youtube", - url=url, thumbnail=scrapedthumbnail))) + url=url, thumbnail=scrapedthumbnail, window=True))) # next_page = scrapertools.find_single_match(data, ']+>') # if next_page != "": # next_page = urlparse.urljoin("https://www.youtube.com", next_page) @@ -252,7 +252,7 @@ def search_links_mymovies(item): logger.debug() trailer_url = match(item, patron=r'