« get me outta code hell

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:
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 38027bab..e946ca2a 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -159,6 +159,7 @@ import {
     getAlbumCover,
     getAlbumListTag,
     getAllTracks,
+    getArtistAvatar,
     getArtistCommentary,
     getArtistNumContributions,
     getFlashCover,
@@ -867,6 +868,9 @@ const processAlbumDocument = makeProcessDocument(Album, {
         coverArtistContribsByRef: 'Cover Artists',
         trackCoverArtistContribsByRef: 'Default Track Cover Artists',
 
+        coverArtFileExtension: 'Cover Art File Extension',
+        trackCoverArtFileExtension: 'Track Art File Extension',
+
         wallpaperArtistContribsByRef: 'Wallpaper Artists',
         wallpaperStyle: 'Wallpaper Style',
         wallpaperFileExtension: 'Wallpaper File Extension',
@@ -923,6 +927,7 @@ const processTrackDocument = makeProcessDocument(Track, {
         urls: 'URLs',
 
         coverArtDate: 'Cover Art Date',
+        coverArtFileExtension: 'Cover Art File Extension',
         dateFirstReleased: 'Date First Released',
         hasCoverArt: 'Has Cover Art',
         hasURLs: 'Has URLs',
@@ -947,6 +952,8 @@ const processArtistDocument = makeProcessDocument(Artist, {
 
         directory: 'Directory',
         urls: 'URLs',
+        hasAvatar: 'Has Avatar',
+        avatarFileExtension: 'Avatar File Extension',
 
         aliasNames: 'Aliases',
 
@@ -3301,6 +3308,10 @@ async function main() {
                     to
                 });
 
+                bound.getArtistAvatar = bindOpts(getArtistAvatar, {
+                    to
+                });
+
                 bound.generateChronologyLinks = bindOpts(generateChronologyLinks, {
                     link: bound.link,
                     linkAnythingMan: bound.linkAnythingMan,