From cbde2a5204f82e63c7c86833fb8fc24a74085d9c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 27 May 2025 19:06:38 -0300 Subject: thumbs: getExpectedImagePaths: wiki wallpaper parts --- src/gen-thumbs.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js index 97cf74a9..413829b2 100644 --- a/src/gen-thumbs.js +++ b/src/gen-thumbs.js @@ -1251,6 +1251,11 @@ export function getExpectedImagePaths(mediaPath, {urls, wikiData}) { .filter(part => part.asset) .map(part => fromRoot.to('media.albumWallpaperPart', album.directory, part.asset))), + + wikiData.wikiInfo.wikiWallpaperParts + .filter(part => part.asset) + .map(part => + fromRoot.to('media.path', part.asset)), ].flat(); sortByName(paths, {getName: path => path}); -- cgit 1.3.0-6-gf8a5