Class MusicBrainz::Webservice::ReleaseFilter
In: lib/rbrainz/webservice/filter.rb
Parent: AbstractFilter

A filter for the release collection.

Methods

new  

Public Class methods

The parameter filter is a hash with filter options. At least one filter despite :limit and :offset must be specified.

Available filter options:

:title
Fetch a list of releases with a matching title.
:discid
Fetch all releases matching to the given DiscID.
:artist
The returned releases should match the given artist name.
:artistid
The returned releases should match the given artist ID (36 character ASCII representation). If this is given, the artist parameter is ignored.
:releasetypes
The returned releases must match all of the given release types. This is either an array of release types as defined in Model::Release or a string of space separated values like Official, Bootleg, Album, Compilation etc.
:count
Number of tracks in the release.
:date
Earliest release date for the release.
:asin
The Amazon ASIN.
:lang
The language for this release.
:script
The script used in this release.
:cdstubs
Flag which indicates whether to include CD stubs or not (boolean). Defaults to false.
:limit
The maximum number of releases returned. Defaults to 25, the maximum allowed value is 100.
:offset
Return search results starting at a given offset. Used for paging through more than one page of results.
:query
A Lucene search query. The query parameter is a search string which will be passed to the underlying Lucene search engine. It must follow the syntax described in musicbrainz.org/doc/TextSearchSyntax.

[Validate]