* @param album - dragged album
* @param pathOld - old path of album directory
*/
public void renameAlbumDirectory(@Observes @EventType(Events.ALBUM_DRAGGED_EVENT) AlbumEvent ae) {
String pathOld = ae.getPath();
Album album = ae.getAlbum();
File file = getFileByPath(pathOld);
File file2 = getFileByPath(album.getPath());
if (file2.exists()) {
if (file2.isDirectory()) {
FileManipulation.deleteDirectory(file2, false);
} else {
FileManipulation.deleteFile(file2);