


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.

trixmoto wrote:You've already highlighted the line of code which shows that for album masks <Artist> refers to the album artist name, so I'm not really sure what you're asking me.

trixmoto wrote:You've already highlighted the line of code which shows that for album masks <Artist> refers to the album artist name, so I'm not really sure what you're asking me.

trixmoto wrote:I'm sorry that you feel that I have not responded to you promptly enough, and that I am obligated to support every script I have written despite the fact that I have a lot going on in my life right now, which leaves me with no time for scripting at the moment.
I loop through all of the tracks and ask MM for the album ID (list.Item(i).Album.ID) and I output a line for each unique ID. The script does not magically pull albums out of the air, it simply uses the API to ask MM for details. When it comes to calculating the album year, I retrieve all of the tracks using the album ID and take an average of the year values.
If you feel this script does not meet your needs, feel free to modify it as you see fit, or stop using it.

Users browsing this forum: Bing [Bot], Google [Bot], rrfpacker and 10 guests