authorize('owner', $playlist); return SongResource::collection( $playlist->is_smart ? $this->smartPlaylistService->getSongs($playlist) : $this->songRepository->getByStandardPlaylist($playlist, $this->user) ); } }