Did some testing -- FVI: first time ever with WebSource scripts
This would be nice to have in my opinion, but it's not doable as far as I can tell:
Still, I like having the number of tracks on a disc inserted to my tags.
FreeAC does this for me when I'm ripping CDs. It does count the tracks per disc and not per Album, of maybe 3 discs with 20 tracks each and that is howI like it!
Now, when playing with the Discogs API and the file (\Roaming\Mp3tag\data\sources\Discogs.inc) I have come to like what the Discogs API returns, the number of tracks per Album
With an added script-block some where under Album:
# ###################################################################
# A L B U M
# ###################################################################
…
### TrackTotal
outputto "DISCOGS_-TEST-_TRACKTOTAL"
json_foreach "tracklist"
sayrest
json_foreach_end
the Album result now shows (it matched all my test with multi disc sets, too):
In my setup I will allways use sub folders like Disc 1, Disc 2… and file names reflect that, too:
And with this I now have the total number of album tracks from Discogs and may notice a missing CD or missing files more easily in the log run.
Feel free to rename "outputto "DISCOGS_-TEST-_TRACKTOTAL" to your liking.
(I will not overwrite my existing TRACKTOTAL tag from FreeAC)
Let me know if I missed something.
Hope this helps.


