Skip to main content

Artist Browse

Artist Browse

This page lists the filters and sorts the artist browse accepts. Refer to the main Api Browse methods page for how to send them.

NOTE The album_artist and song_artist browses are this browse with the matching filter already applied, so they take the same filters and sorts.

NOTE An artist is shared across catalogs (there is no artist catalog column), so the catalog filters resolve through catalog_map.

API methods using this browse

artists, browse, genre_artists, label_artists

Available browse filters

Send filters in the cond parameter as filter,value pairs, separated by ;

e.g. cond=starts_with,a;catalog,2

FilterValueDescription
add_gtUNIX timestampOnly artists with a song added to the catalog at or after this time.
add_ltUNIX timestampOnly artists with a song added to the catalog at or before this time.
album_artist0 or 1Send 1 for artists credited as an album artist, 0 for artists never credited as one.
alpha_matchstringAlias of like.
catalogcatalog idOnly artists with something in this catalog, resolved through catalog_map. 0 means every catalog.
catalog_enablednoneOnly artists in an enabled catalog. Needs no value.
equalstringThe artist name is exactly this value. Matching is case insensitive.
exact_matchstringAlias of equal.
genregenre idOnly artists tagged with this genre.
idarrayOnly these artist ids. It takes a list, which cond cannot send, so cond=id,1 builds an empty list and the browse returns nothing.
labellabel idOnly artists signed to this label.
likestringThe artist name contains this value.
no_genrenoneOnly artists with no genre at all. Needs no value, and clears any genre filter.
no_tagnoneAlias of no_genre.
not_likestringThe artist name does not contain this value.
not_starts_withstringThe artist name does not start with this value.
regex_matchregexThe artist name matches this MySQL regular expression. Setting it clears any regex_not_match filter.
regex_not_matchregexThe artist name does not match this MySQL regular expression. Setting it clears any regex_match filter.
song_artist0 or 1Send 1 for artists credited on a song, 0 for artists never credited on one.
starts_withstringThe artist name starts with this value.
taggenre idAlias of genre.
unplayed1Only artists that have never been played. The value must be 1; anything else, including an empty value, is ignored.
update_gtUNIX timestampOnly artists with a song whose tags were updated at or after this time.
update_ltUNIX timestampOnly artists with a song whose tags were updated at or before this time.
user_catalognoneOnly artists with something in a catalog the current user can see. Needs no value.
user_flag0 or 1Send 1 for artists the current user has favourited, 0 for the ones they have not.
user_rating0 to 5Only artists the current user rated this value. Send 0 for artists they have not rated at all.

Available browse sorts

Send a single sort in the sort parameter as name,order, where order is ASC or DESC.

e.g. sort=name,DESC

SortDescription
addition_timeWhen it was added to the catalog.
album_countHow many albums the artist has.
idThe artist id, which is the order they were created in.
nameArtist name.
placeformedWhere the artist was formed.
randRandom order, applied per request. Paging through it repeats and skips artists, so ask for everything in one call.
ratingYour own rating, then when you set it. Artists you have not rated group together.
song_countHow many songs it has.
timeTotal running time of the artist's songs in seconds.
titleAlias of name.
total_countHow many times the artist's songs have been played.
user_flagWhen you added it to your favourites. This is a date, not a flag, so everything you have not favourited groups together.
user_flag_ratingWhen you added it to your favourites, then your rating.
userflagAlias of user_flag.
yearformedThe year the artist formed.