Script to recognize complete albums?


#1

Is anyone familiar with a script or function for file naming that checks if the file was matched to a “complete album”? I’m trying to see if I can get my script to only add album name info to the filename if the said file was assembled with other files to completely match a multi-track release (i.e 10/10 of tracks were matched).


#2

can’t delete the post but just realized the function was recently added, i missed it while scrolling through the API


#3

No need to delete the post, it might be useful for others, too :wink: Just to add some more details:

There is a $is_complete() function you can use to check whether a file was matched to an album marked as complete (normally 10/10 matched files, no unmatched files). You usually use this together with $if(). See https://picard.musicbrainz.org/docs/scripting/#is_complete for details.