authorize('collaborate', $playlist); $mediaMetadataService->writePlaylistCover($playlist, $request->getFileContent()); return response()->json(['cover_url' => $playlist->cover]); } }