Skip to main content

Video Browse

Video Browse

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

API methods using this browse

browse, videos

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 videos added to the catalog at or after this time.
add_ltUNIX timestampOnly videos added to the catalog at or before this time.
alpha_matchstringAlias of like.
catalogcatalog idOnly videos in this catalog. 0 is ignored rather than matching catalog zero, so it means every catalog.
catalog_enablednoneOnly videos in an enabled catalog. Needs no value.
equalstringThe video title is exactly this value. Matching is case insensitive.
exact_matchstringAlias of equal.
genregenre idOnly videos tagged with this genre.
idarrayOnly these video ids. It takes a list, which cond cannot send, so cond=id,1 builds an empty list and the browse returns nothing.
likestringThe video title contains this value.
no_genrenoneOnly videos with no genre at all. Needs no value, and clears any genre filter.
no_tagnoneAlias of no_genre.
not_likestringThe video title does not contain this value.
not_starts_withstringThe video title does not start with this value.
regex_matchregexThe video title matches this MySQL regular expression. Setting it clears any regex_not_match filter.
regex_not_matchregexThe video title does not match this MySQL regular expression. Setting it clears any regex_match filter.
starts_withstringThe video title starts with this value.
taggenre idAlias of genre.
update_gtUNIX timestampOnly videos whose tags were last updated at or after this time.
update_ltUNIX timestampOnly videos whose tags were last updated at or before this time.
user_catalognoneOnly videos in a catalog the current user is allowed to see. Needs no value.
user_flag0 or 1Send 1 for videos the current user has favourited, 0 for the ones they have not.
user_rating0 to 5Only videos the current user rated this value. Send 0 for videos 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.
catalogThe catalog id it belongs to.
codecVideo codec.
idThe video id, which is the order they were created in.
lengthVideo length in seconds.
nameVideo title.
randRandom order, applied per request. Paging through it repeats and skips videos, so ask for everything in one call.
ratingYour own rating, then when you set it. Videos you have not rated group together.
resolutionVideo width in pixels.
titleAlias of name.
total_countHow many times it has been played.
total_skipHow many times it has been skipped.
update_timeWhen its tags were last updated.
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.

NOTE These sorts are listed by the browse but have no implementation, so the rows come back in the default order: userflag