socket.on('songchanged', function(changed){
setInterval(function(){
socket.broadcast.emit('changed', changed);
}, 3000);
});
io.on('connection', function (socket) {
socket.on('songchanged', function(changed){
socket.broadcast.emit('changed', data);
})
})