« get me outta code hell

data, urls: vgm-album-art and suchness - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/gen-thumbs.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-05-26 19:05:38 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-05-26 19:05:38 -0300
commit9dc7c08e2fa7a0303fda3b9a687b55425c594aef (patch)
tree7b7ed5843e48abd0a2d1058cfaa1294d0d0da87d /src/gen-thumbs.js
parent3b4fb2fbd12348ee0f98dc18c8f456a72c7876f6 (diff)
data, urls: vgm-album-art and suchness preview
Diffstat (limited to 'src/gen-thumbs.js')
-rw-r--r--src/gen-thumbs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js
index a58e96d5..d452c22e 100644
--- a/src/gen-thumbs.js
+++ b/src/gen-thumbs.js
@@ -1231,8 +1231,8 @@ export function getExpectedImagePaths(mediaPath, {urls, wikiData}) {
     wikiData.albumData
       .flatMap(album => album.wallpaperParts
         .filter(part => part.asset)
-        .map(part =>
-          fromRoot.to('media.albumWallpaperPart', album.directory, part.asset))),
+        .map(part => album.getWallpaperPartPath(part))
+        .map(path => fromRoot.to(...path))),
 
     wikiData.musicVideoData
       .filter(musicVideo => musicVideo.path)