« get me outta code hell

data: Album.alwaysReferenceTracksByDirectory - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-08 13:10:35 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-08 13:10:35 -0300
commitd814792891485af3423cd2232e20b12a6f051034 (patch)
tree697a6e2129aeb139ed4e3c30a2fe7fa63741a1d0 /src/data/things
parent4a0f071064aeb95749f40f93b51f86c3c882bfeb (diff)
data: Album.alwaysReferenceTracksByDirectory
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/album.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index 40cd4631..f8354962 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -48,6 +48,8 @@ export class Album extends Thing {
     directory: directory(),
     urls: urls(),
 
+    alwaysReferenceTracksByDirectory: flag(false),
+
     bandcampAlbumIdentifier: simpleString(),
     bandcampArtworkIdentifier: simpleString(),
 
@@ -226,6 +228,10 @@ export class Album extends Thing {
       'Album': {property: 'name'},
       'Directory': {property: 'directory'},
 
+      'Always Reference Tracks By Directory': {
+        property: 'alwaysReferenceTracksByDirectory',
+      },
+
       'Bandcamp Album ID': {
         property: 'bandcampAlbumIdentifier',
         transform: String,