diff options
| 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 |
| commit | b7b941a9f267925cfbc699648a07ee6f7c6f1cf1 (patch) | |
| tree | 1631f35824b63bf7cfa9de53814f539ad7258f55 | |
| parent | 8cf17aae87ba968d35c9871be9f90997cd5a80ad (diff) | |
content: fix album wallpapers lol
| -rw-r--r-- | src/content/dependencies/generateAlbumArtInfoBox.js | 2 | ||||
| -rw-r--r-- | src/content/dependencies/generateAlbumWallpaperStyleTag.js | 4 |
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: |