Skip to main content

Playlist Search Browse

Playlist Search Browse

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

NOTE This is the combined playlist and smartlist browse used by playlists, index, list and stats. Smartlist ids come back prefixed, so search 2256 is returned as smart_2256.

NOTE It reads a union of the playlist and search tables, so it only offers the columns both of them have.

API methods using this browse

index, list, playlist_folder_items, playlists, stats

Available browse filters

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

e.g. cond=starts_with,a

FilterValueDescription
alpha_matchstringAlias of like.
equalstringThe list name is exactly this value. Matching is case insensitive.
exact_matchstringAlias of equal.
hide_dupe_smartlistnoneDrop a smartlist when a playlist of the same name belongs to the same user. Needs no value.
idarrayOnly these list ids, including smart_ prefixed ones. It takes a list, which cond cannot send, so cond=id,1 returns nothing.
likestringThe list name contains this value.
not_likestringThe list name does not contain this value.
not_starts_withstringThe list name does not start with this value.
playlist_openuser idOnly lists this user can open: public ones, their own, ones they collaborate on and ones shared with them.
playlist_type0 or 1Send 0 for lists owned by the current user, 1 for every list they can open. Sending it twice toggles it.
playlist_useruser idOnly lists owned by this user.
regex_matchregexThe list name matches this MySQL regular expression. Setting it clears any regex_not_match filter.
regex_not_matchregexThe list name does not match this MySQL regular expression. Setting it clears any regex_match filter.
smartlistnoneOnly smartlists, the rows with a smart_ prefixed id. Needs no value.
starts_withstringThe list name starts with this value.
user_flag0 or 1Send 1 for lists the current user has favourited, 0 for the ones they have not.
user_rating0 to 5Only lists the current user rated this value. Send 0 for lists 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
dateWhen the list was created.
idThe list id. Smartlist ids are prefixed with smart_, so they sort apart from playlists.
last_countHow many items the list held when it was last counted.
last_updateWhen it was last updated.
nameList name, then id, so lists with the same name keep a stable order.
randRandom order, applied per request. Paging through it repeats and skips lists, so ask for everything in one call.
ratingYour own rating, then when you set it. Lists you have not rated group together.
titleAlias of name.
typeVisibility: public or private.
userThe id of the user who owns it.
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.
usernameThe owner's username.