Пример #1
0
 /**
  * getInternetRadioStations
  * Get all internet radio stations
  * Takes no parameter.
  */
 public static function getinternetradiostations($input)
 {
     self::check_version($input, "1.9.0");
     $r = Subsonic_XML_Data::createSuccessResponse();
     $radios = Live_Stream::get_all_radios();
     Subsonic_XML_Data::addRadios($r, $radios);
     self::apiOutput($input, $r);
 }