/**
  * Get soundcloud rest API from URL
  * @param type $url
  * @return type
  */
 public static function soundcloudRest($url)
 {
     $rest = new RESTClient();
     $rest->initialize(array('server' => 'http://api.soundcloud.com/'));
     $rest->option('SSL_VERIFYPEER', false);
     $soundcloud = $rest->get('resolve.json', array('url' => $url, 'client_id' => Yii::app()->params['soundcloud']['clientID']));
     return CJSON::decode($soundcloud);
 }