diff options
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r-- | src/data/things/track.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index 2c5e4fd7..8072c3cb 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -744,6 +744,16 @@ export class Track extends Thing { // Track YAML loading is handled in album.js. static [Thing.getYamlLoadingSpec] = null; + getOwnAdditionalFilePath(_file, filename) { + if (!this.album) return null; + + return [ + 'media.albumAdditionalFile', + this.album.directory, + filename, + ]; + } + getOwnArtworkPath(artwork) { if (!this.album) return null; |