Artist service

getArtists

ArtistService.getArtists(String filter,
                         String album,
                         String genre,
                         int letterIndex,
                         int startItem,
                         int maxItems)

Get a list of artists matching the query. The filter is the same as in the web interface in the artist browser, i.e. they work with LIKE "%filter%" on the database. The album and genre filters match as is, i.e. not with LIKE. They are used to query all artists for a certain album or genre. Unused filters can be set to NULL. The letter index is the index in the alphabetical register (i.e. "0-9", "A-C", "D-F", etc.) where index 0 is "0-9", index 1 is "A-C", etc. and -1 means all. The startItem is the first item from the list to return, i.e. if the result has 100 items and you set startItem to 50, you will get items 51 - 99 (items start with index 0) in the result. The maxItems parameters specifies the maximum number of items to return where 0 or a negative value means all items. Use the last two values for implementing pagers. The return value is a list of artists.

getTracks

ArtistService.getTracks(String[] artists)

Get all tracks of the specified artists.