allowing plugins to define new sounds -- woot.

Also moving the core sounds into a separate package, soundpack-default
This commit is contained in:
Julian Lam
2014-04-12 18:33:52 -04:00
parent f8a6ab5cf4
commit df8728c785
9 changed files with 50 additions and 17 deletions

View File

@@ -224,7 +224,7 @@ SocketModules.notifications.mark_all_read = function(socket, data, callback) {
/* Sounds */
SocketModules.sounds.getSounds = function(socket, data, callback) {
// Read sounds from local directory
meta.sounds.getLocal(callback);
meta.sounds.getFiles(callback);
};
SocketModules.sounds.getMapping = function(socket, data, callback) {