Esempio n. 1
0
 /**
  * getVideos
  * Get all videos.
  * Takes no parameter.
  */
 public static function getvideos($input)
 {
     self::check_version($input, "1.7.0");
     $r = Subsonic_XML_Data::createSuccessResponse();
     $videos = Catalog::get_videos();
     Subsonic_XML_Data::addVideos($r, $videos);
     self::apiOutput($input, $r);
 }