Skip to content

Commit

Permalink
add movie logo so user can make bookmark and view this logo in main page
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse7723 committed Jan 17, 2025
1 parent 087ddb3 commit 0023020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uaserials.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0023020

Please sign in to comment.