writeAlbumCover( $album, $request->getFileContentAsBinaryString(), $request->getFileExtension() ); event(new LibraryChanged()); return response()->json(['coverUrl' => $album->cover]); } }