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);