mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Changed functionality for adding playlists
dquote> - Sending event for addPlaylist, and sending the whole list instead of one-by one
This commit is contained in:
@@ -285,6 +285,10 @@ module.exports = function() {
|
||||
List.end(obj, coll, guid, offline, socket);
|
||||
});
|
||||
|
||||
socket.on('addPlaylist', function(arr) {
|
||||
ListChange.addPlaylist(arr, guid, offline, socket);
|
||||
})
|
||||
|
||||
socket.on('add', function(arr)
|
||||
{
|
||||
if(coll !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user