node_airtunes icon indicating copy to clipboard operation
node_airtunes copied to clipboard

Add multiple devices

Open FrancisHGR opened this issue 7 years ago • 1 comments

Hey everyone,

great code - but how do I add different speaker / devices?

Thanks and cheers

FrancisHGR avatar Nov 13 '17 22:11 FrancisHGR

Did it, so if someone is interested. Just ignore the required parameters via optimist and add the devices directly in the file, e.g. play_stdin.js in /examples

host = '192.168.1.11'; var device = airtunes.add(host, { port: 5000 volume: 100 });

var host2 = '192.168.1.17'; var device = airtunes.add(host2, { port: 1024 volume: 100 });

FrancisHGR avatar Nov 24 '17 22:11 FrancisHGR