In what order the performers are returned using $performer() function


#1

Hi

I’m using the following script to get all the performers into a single variable to work with

$set(_performers,$performer())

The question is simple. In what order does Picard return the performers ( Ex. Orchestra first, then Vocal, and so on ) ? Does it rely on a list or alphabetical or something else ?

Thanks again

Frederic


#2

There is no defined order, just as Picard sees them. That depends on the order the web service returns them, and for file based tags on the order they get loaded from the file tags. Probably the order the web service returns is fixed due to the server side implementation. But in any way, even if it looks like a specific order it is undefined and you should not rely on it as it can change any time.