} else {
song = new File(directory, fileName);
}
QueuedSound action = new QueuedSound(song, x, y, z, volume, distance, soundEffect);
Download download = new Download(fileName, directory, url, action);
action.setNotify(!download.isDownloaded() && notify);
if (!download.isDownloaded() && notify) {
SpoutClient.getInstance().getActivePlayer().showAchievement("Downloading Music...", fileName, 2256 /*Gold Record*/);
}
FileDownloadThread.getInstance().addToDownloadQueue(download);
}