« get me outta code hell

content: fix album wallpapers lol - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-05-28 14:28:48 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-05-28 14:28:48 -0300
commitb7b941a9f267925cfbc699648a07ee6f7c6f1cf1 (patch)
tree1631f35824b63bf7cfa9de53814f539ad7258f55 /src
parent8cf17aae87ba968d35c9871be9f90997cd5a80ad (diff)
content: fix album wallpapers lol
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAlbumArtInfoBox.js2
-rw-r--r--src/content/dependencies/generateAlbumWallpaperStyleTag.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateAlbumArtInfoBox.js b/src/content/dependencies/generateAlbumArtInfoBox.js
index a3b4c02d..841b1f5e 100644
--- a/src/content/dependencies/generateAlbumArtInfoBox.js
+++ b/src/content/dependencies/generateAlbumArtInfoBox.js
@@ -29,7 +29,7 @@ export default {
     wallpaperPartPaths:
       album.wallpaperParts
         .filter(part => part.asset)
-        .map(part => ['media.albumWallpaperPart', album.directory, part.asset]),
+        .map(part => album.getWallpaperPartPath(part)),
 
     bannerImagePath:
       (album.bannerArtwork
diff --git a/src/content/dependencies/generateAlbumWallpaperStyleTag.js b/src/content/dependencies/generateAlbumWallpaperStyleTag.js
index caecc17b..f4044606 100644
--- a/src/content/dependencies/generateAlbumWallpaperStyleTag.js
+++ b/src/content/dependencies/generateAlbumWallpaperStyleTag.js
@@ -11,7 +11,7 @@ export default {
       album.wallpaperBrightness,
 
     singleWallpaperPath:
-      ['media.albumWallpaper', album.directory, album.wallpaperFileExtension],
+      album.wallpaperArtwork.path,
 
     singleWallpaperStyle:
       album.wallpaperStyle,
@@ -19,7 +19,7 @@ export default {
     wallpaperPartPaths:
       album.wallpaperParts.map(part =>
         (part.asset
-          ? ['media.albumWallpaperPart', album.directory, part.asset]
+          ? album.getWallpaperPartPath(part)
           : null)),
 
     wallpaperPartStyles: