authorize('download', $playlist); return response()->download( $download->from( $playlist->is_smart ? $smartPlaylistService->getSongs($playlist, $user) : $repository->getByStandardPlaylist($playlist, $user) ) ); } }