Skip to main content

Share Browse

Share Browse

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

NOTE A share has no name of its own, so the text filters and the name sort reach through to the album, artist, playlist, podcast, episode, smartlist, song or video it points at.

NOTE Users only ever see their own shares unless they are an admin.

API methods using this browse

shares

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 title of the shared object is exactly this value. Matching is case insensitive.
exact_matchstringAlias of equal.
likestringThe title of the shared object contains this value.
not_likestringThe title of the shared object does not contain this value.
not_starts_withstringThe title of the shared object does not start with this value.
object_typestringOnly shares of this object type: album, album_disk, artist, playlist, podcast, podcast_episode, search, song or video.
regex_matchregexThe title of the shared object matches this MySQL regular expression. Setting it clears any regex_not_match filter.
regex_not_matchregexThe title of the shared object does not match this MySQL regular expression. Setting it clears any regex_match filter.
starts_withstringThe title of the shared object starts with this value.
useruser idOnly shares created by this user.

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
allow_downloadWhether the share allows downloads.
allow_streamWhether the share allows streaming.
counterHow many times the share has been used.
creation_dateWhen it was created.
expireHow many days the share lasts.
idThe share id, which is the order they were created in.
lastvisit_dateWhen the share was last opened.
max_counterThe share's maximum allowed uses.
nameThe name or title of the shared object, then its type and id so shares of the same name keep a stable order.
objectShared object type, then object id.
object_typeThe type of object the row points at.
titleAlias of name.
userThe id of the user who created the share.