summaryrefslogtreecommitdiff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-01-05 15:04:32 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-01-05 15:04:32 -0400
commitb10d00e4f4cf191ed9cb914052422db4363de349 (patch)
tree6d4f77bb38fb0ae91782f118ff45013726336a17 /src/page
parente32ca61eb351155524a5ba0c272b26cdc85a8203 (diff)
support non-jpg album wallpapers & bannersstaging
Diffstat (limited to 'src/page')
-rw-r--r--src/page/album.js2
-rw-r--r--src/page/track.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 19efc70..6e8d6db 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -122,7 +122,7 @@ export function write(album, {wikiData}) {
banner: album.bannerArtists && {
dimensions: album.bannerDimensions,
- path: ['media.albumBanner', album.directory],
+ path: ['media.albumBanner', album.directory, album.bannerFileExtension],
alt: strings('misc.alt.albumBanner'),
position: 'top'
},
diff --git a/src/page/track.js b/src/page/track.js
index 0941ee8..c2f2c59 100644
--- a/src/page/track.js
+++ b/src/page/track.js
@@ -155,7 +155,7 @@ export function write(track, {wikiData}) {
banner: album.bannerArtists && {
classes: ['dim'],
dimensions: album.bannerDimensions,
- path: ['media.albumBanner', album.directory],
+ path: ['media.albumBanner', album.directory, album.bannerFileExtension],
alt: strings('misc.alt.albumBanner'),
position: 'bottom'
},