diff options
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js index e82dff7e..2aa4eb29 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2750,6 +2750,7 @@ async function main() { // result (many of which are required for page HTML generation). for (const album of WD.albumData) { + album.artistData = WD.artistData; album.trackData = WD.trackData; for (const trackGroup of album.trackGroups) { @@ -2759,6 +2760,7 @@ async function main() { for (const track of WD.trackData) { track.albumData = WD.albumData; + track.artistData = WD.artistData; track.artTagData = WD.artTagData; } @@ -2771,6 +2773,11 @@ async function main() { console.log(WD.trackData[0].name, WD.trackData[0].album.name); console.log(WD.albumData[0].name, WD.albumData[0].tracks[0].name); + console.log(WD.trackData[0].artistContribs[0].who.name); + console.log( + (WD.albumData + .find(album => album.name === 'Alternia') + .artistContribs[0].who.name)); return; |