From 00230207e31621b8eed4c6c04925c83647065aec Mon Sep 17 00:00:00 2001 From: eclipse7723 Date: Fri, 17 Jan 2025 02:45:33 +0200 Subject: [PATCH] add movie logo so user can make bookmark and view this logo in main page --- uaserials.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uaserials.js b/uaserials.js index 8cfd84d..b78dcdb 100644 --- a/uaserials.js +++ b/uaserials.js @@ -189,8 +189,6 @@ new page.Route(PLUGIN.id + ":moviepage:(.*):(.*)", function(page, href, title) { /* страница с деталями фильма и перехода к просмотру */ setPageHeader(page, DEFAULT_PAGE_TYPE, title) - // todo: add logo of film so user can make bookmark and view actual logo of movie in main page of movian - page.loading = true; const htmlText = fetchHTML(href); @@ -249,6 +247,8 @@ new page.Route(PLUGIN.id + ":moviepage:(.*):(.*)", function(page, href, title) { currentMovieData["year"] = infoData.year; currentMovieData["genre"] = infoData.genre; + page.metadata.logo = img; // suitable for bookmarks + // logDebug({currentMovieData:currentMovieData}) parseTrailer(page, currentMovieData);