Skip to main content

Folder Browse

Folder Browse

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

NOTE API8 only. The rows come from folder_map, so a row is either a folder or a media file inside one and the id is a type-id string like folder-12 or song-2280.

NOTE int_id is the plain numeric id of the object the row points at.

NOTE The date, last_update, object_count, last_count, total_count and user sorts read the folder's own columns, never the media inside it, so a media row has no value for them and every one of them keeps folders above files.

API methods using this browse

folders

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 folder name or its full path is exactly this value.
exact_matchstringAlias of equal.
idstringOnly the row with this type-id id, e.g. folder-12.
int_idintegerOnly the row for this numeric object id. Send -1 to match nothing.
likestringThe folder name or its full path contains this value.
not_likestringNeither the folder name nor its full path contains this value.
not_starts_withstringNeither the folder name nor its full path starts with this value.
regex_matchregexThe folder name or its full path matches this MySQL regular expression.
regex_not_matchregexNeither the folder name nor its full path matches this MySQL regular expression.
starts_withstringThe folder name or its full path starts with this value.
user_flag0 or 1Send 1 for folders the current user has favourited, 0 for the ones they have not.
user_rating0 to 5Only folders the current user rated this value. Send 0 for folders 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
dateFolders first, then when the folder was added to the catalog.
idThe type-id id string, which groups folders and files apart.
int_idThe numeric id of the object the row points at.
last_countAlias of object_count.
last_updateFolders first, then when the folder was last updated.
nameFolders first, then name.
object_countFolders first, then how many items the folder holds.
object_typeThe type of object the row points at, so folders group apart from the files in them.
randRandom order, applied per request. Paging through it repeats and skips folders, so ask for everything in one call.
ratingYour own rating, then when you set it. Folders you have not rated group together.
titleAlias of name.
total_countFolders first, then how many times the folder has been played.
typeAlias of object_type.
userFolders first, then the id of the user who owns the folder.
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.