diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-09-11 05:45:40 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-09-11 05:45:40 -0300 |
commit | 2f7f2264c54aef4da050dc438cba8a408293235f (patch) | |
tree | 4f04c04408399fb71ec97a932ed8072aac4d9b7e /src/content/dependencies | |
parent | 52aaed662e3fc31dbd83861db83058aae604d206 (diff) |
content: consider "count in artist totals" in wiki total duration
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateListingsIndexPage.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateListingsIndexPage.js b/src/content/dependencies/generateListingsIndexPage.js index b57ebe15..d0eff96f 100644 --- a/src/content/dependencies/generateListingsIndexPage.js +++ b/src/content/dependencies/generateListingsIndexPage.js @@ -14,7 +14,9 @@ export default { wikiName: wikiInfo.name, numTracks: trackData.length, numAlbums: albumData.length, - totalDuration: getTotalDuration(trackData), + totalDuration: + getTotalDuration( + trackData.filter(track => track.countInArtistTotals)), }; }, |