Skip to main content

Album Disk Browse

Album Disk Browse

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

NOTE API8 only. API3 to API6 have no album disk methods, so a client that wants disks has to ask for them by name.

NOTE A disk has no name, dates or tags of its own; text filters, genre filters and the date filters all reach through to its album and songs.

API methods using this browse

album_disks

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 disks with a song added to the catalog at or after this time.
add_ltUNIX timestampOnly disks with a song added to the catalog at or before this time.
albumalbum idOnly the disks of this album.
album_artistartist idOnly album disks whose album artist is this artist. Send 0 for album disks that have no album artist.
alpha_matchstringAlias of like.
artistartist idOnly disks whose album has this artist on it, as the album artist or on a song.
catalogcatalog idOnly album disks in this catalog. 0 is ignored rather than matching catalog zero, so it means every catalog.
catalog_enablednoneOnly album disks in an enabled catalog. Needs no value.
equalstringThe album name is exactly this value. Matching is case insensitive.
exact_matchstringAlias of equal.
genregenre idOnly disks whose album is tagged with this genre.
idarrayOnly these album disk ids. It takes a list, which cond cannot send, so cond=id,1 builds an empty list and the browse returns nothing.
likestringThe album name contains this value.
no_genrenoneOnly disks whose album has no genre at all. Needs no value.
no_tagnoneAlias of no_genre.
not_likestringThe album name does not contain this value.
not_starts_withstringThe album name does not start with this value.
regex_matchregexThe album name matches this MySQL regular expression. Setting it clears any regex_not_match filter.
regex_not_matchregexThe album name does not match this MySQL regular expression. Setting it clears any regex_match filter.
song_artistartist idOnly album disks with a song credited to this artist. Send 0 for album disks with no such song.
starts_withstringThe album name starts with this value.
taggenre idAlias of genre.
unplayed1Only album disks that have never been played. The value must be 1; anything else, including an empty value, is ignored.
update_gtUNIX timestampOnly disks with a song whose tags were updated at or after this time.
update_ltUNIX timestampOnly disks with a song whose tags were updated at or before this time.
user_catalognoneOnly album disks in a catalog the current user is allowed to see. Needs no value.
user_flag0 or 1Send 1 for album disks the current user has favourited, 0 for the ones they have not.
user_rating0 to 5Only album disks the current user rated this value. Send 0 for album disks 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 the album was added to the catalog. A disk has no addition time of its own.
album_artistAlbum artist name.
album_artist_album_sortAlbum artist name, then whatever the server's album_sort setting says, then disk number.
album_artist_titleAlbum artist name, then album name and disk number.
album_idThe id of the album the disk belongs to.
artistArtist name.
barcodeAlbum barcode. Taken from the album, not the disk.
catalogThe catalog id, then album name and disk number.
catalog_numberAlbum catalog number. Taken from the album, not the disk.
diskDisk number, then album name and disk number again.
disk_countHow many disks the album has, then album name and disk number.
disksubtitleDisk subtitle, then album name and disk number.
generic_artistAlbum artist name, falling back to the artist of a song on the album when the album has no album artist.
idThe album disk id, which is the order they were created in.
nameAlbum name, then original release year and disk number.
name_original_yearAlbum name, then original release year and disk number.
name_yearAlbum name, then release year and disk number.
original_yearOriginal release year, falling back to the release year, then when it was added.
randRandom order, applied per request. Paging through it repeats and skips album disks, so ask for everything in one call.
ratingYour own rating, then when you set it. Album disks you have not rated group together.
release_statusAlbum release status. Taken from the album, not the disk.
release_typeAlbum release type. Taken from the album, not the disk.
song_countHow many songs the disk has, then album name and disk number.
subtitleAlbum subtitle. Taken from the album, not the disk.
timeRunning time of the disk in seconds, then album name and disk number.
titleAlias of name.
total_countHow many times the disk has been played, then album name and disk number.
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.
versionAlbum version. Taken from the album, not the disk.
yearRelease year, then when the album was added to the catalog.