Example #1
0
 /**
  * getArtists
  * Get all artists.
  * Takes no parameter.
  */
 public static function getartists($input)
 {
     self::check_version($input, "1.7.0");
     $r = Subsonic_XML_Data::createSuccessResponse();
     $artists = Catalog::get_artists(Catalog::get_catalogs());
     Subsonic_XML_Data::addArtistsRoot($r, $artists, true);
     self::apiOutput($input, $r);
 }