trixmoto wrote:The date definitely shouldn't be displaying with a recurring decimal (or any decimal places for that matter) but it looks like you must have a track in the album which is not marked as 1975, which is was is causing the discrepancy.
I don't think it would be easy to sort by artist and then year, as there's no API method for that currently, but not impossible.
This script asks MM for a list of all albums using the API methods, so if all the tracks from an album are appearing, it's because MM thinks each one is a separate album. To rectify this you could try selecting all of the tracks and updating the album artist and album name at the same time, this should convince it. There's also a fix option in the File menu somewhere to fix multi-artist albums, I think.
I think I have found the problem on the compilation albums showing up as they do. The compmask only works with the artist not the album artist. So when the artist is not Various, but is the actual track artist the script picks up each artist and track as a separate album based on the API method which causes the track to be listed under the track artist rather then a single listing of the comp album - with 19 artists for the 20 tracks you get 19 line items. It does this and then displays the Album Artist and Album name as the script instructs it to do. Either that or I am missing something and it is supposed to be able to ignore the track artists and only list the album artist?
NOTE: Mask and CompMask variables can include fields... <Artist>
' TrackMask variable can include: <Track#><Artist>
' <Custom 1><Custom 2><Custom 3><Filename><Length><Rating><Custom 4><Custom 5><Disc#>
tot = getval(iter,"vTot")
max = getval(iter,"vMax") art = itm.AlbumArtistName
alb = itm.AlbumName
comp = False
By my thinking it should be if album artist = "Various" then it would list the album as "Various - Songs of the Seventies Vol. 1". But it appears to use the artist for the track which fools the script into thinking there are 19 albums, by 19 artists. If I understood your suggestion it would be to make both the artist and album artist read various - but if that is what you mean it defeats the purpose of having an album artist and the track artist.
Here is what I am using currently for the report:
Dim Mask : Mask = "<Artist> - <Year> - <Album> - <Genre> (<Tot>/<Max>)" 'mask for artist albums
Dim TrackMask : TrackMask = "" 'blank mask means no tracks are displayed
Dim CompMask : CompMask = "<Artist> - <Year> - <Album> - <Genre> (<Tot>/<Max>)" 'mask for compilation albums
Dim FirstMask : FirstMask = "" 'mask for first track in an album
Did I miss a step or doing something that is causing it not to see the compilations properly? In my library compilation albums have album artist set to various and then artist is used to name the track artist which gave me the results of 19 line items for the 19 track artists.