/** * Serves a playlist containing the specified movie's files to the browser * @param int $id the movie ID */ public function actionGetMoviePlaylist($id, $playlistFormat) { $movieDetails = VideoLibrary::getMovieDetails($id, array('file', 'runtime', 'year', 'thumbnail')); $this->log('"%s" streamed "%s"', Yii::app()->user->name, $movieDetails->getDisplayName()); $this->servePlaylist($movieDetails, $playlistFormat); }