« get me outta code hell

additional files - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-05-12 21:55:03 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-12 21:55:41 -0300
commit589273c5e1d63e5f68ecedd68c9d4b49c36b25f4 (patch)
treef63558c64813531496d5306a754b7773e6a2bd95 /src/upd8.js
parent9dbc0792c8988e97b1b93b83b27b1aa62dfc1875 (diff)
additional files
These are basically supported for tracks but I've only implemented
them for albums for the moment (read: I'm lazy!).
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js
index bca6a0d0..b55ddda9 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -85,6 +85,8 @@ import {
 import {
     fancifyFlashURL,
     fancifyURL,
+    generateAdditionalFilesShortcut,
+    generateAdditionalFilesList,
     generateChronologyLinks,
     generateCoverLink,
     generateInfoGalleryLinks,
@@ -1944,6 +1946,14 @@ async function main() {
                     to
                 });
 
+                bound.generateAdditionalFilesShortcut = bindOpts(generateAdditionalFilesShortcut, {
+                    language
+                });
+
+                bound.generateAdditionalFilesList = bindOpts(generateAdditionalFilesList, {
+                    language
+                });
+
                 bound.generateChronologyLinks = bindOpts(generateChronologyLinks, {
                     link: bound.link,
                     linkAnythingMan: bound.linkAnythingMan,