Skip to content

Instantly share code, notes, and snippets.

@libbymiller libbymiller/test2.js
Created Feb 23, 2016

Embed
What would you like to do?
var radiodan = require('radiodan-client');
radiodan.create().player.discover().then(function(players) {
console.log(players); // [ playerObjects ]
});
@libbymiller

This comment has been minimized.

Copy link
Owner Author

commented Feb 23, 2016

Used in place of main.js in https://github.com/radiodan/radiodan-skeleton the result is:

npm start

radiodan-skeleton@0.0.0 start /Users/libbym/bbc/mediascape/zzzzz/radiodan-skeleton
nf start

[OKAY] Loaded ENV .env File as KEY=VALUE Format
[OKAY] Trimming display Output to 113 Columns
10:05:09 broker.1 | > radiodan-skeleton@0.0.0 broker /Users/libbym/bbc/mediascape/zzzzz/radiodan-skeleton
10:05:09 broker.1 | > radiodan-broker
10:05:09 audio.1 | > radiodan-skeleton@0.0.0 audio /Users/libbym/bbc/mediascape/zzzzz/radiodan-skeleton
10:05:09 audio.1 | > radiodan-server ../../config/radiodan-config.json
10:05:09 broker.1 | Broker started 2016-02-23 10:05:09.609699144 +0000 GMT
10:05:09 broker.1 | Log Level: info
10:05:09 broker.1 | time="2016-02-23T10:05:09Z" level=info msg="Broker services on tcp://0.0.0.0:7171"
10:05:09 broker.1 | time="2016-02-23T10:05:09Z" level=info msg="Broker publishes on tcp://0.0.0.0:7172"
10:05:09 broker.1 | time="2016-02-23T10:05:09Z" level=info msg="Broker subscribes on tcp://0.0.0.0:7173"
10:05:09 app.1 | []
10:05:09 audio.1 | 2016-02-23T10:05:09.815Z - info: [server] Set logging to info
10:05:09 broker.1 | time="2016-02-23T10:05:09Z" level=info msg="Adding worker "audio-ec001e60-da14-11e5-8dd0-4331031c8b6c" to audio…
10:05:09 audio.1 | 2016-02-23T10:05:09.917Z - warn: [wait-for-socket] Cannot connect
10:05:10 audio.1 | 2016-02-23T10:05:10.926Z - info: [client] ready on port 49154
10:05:10 audio.1 | 2016-02-23T10:05:10.928Z - info: [radio-controller] Registered Worker: player.main
10:05:10 broker.1 | time="2016-02-23T10:05:10Z" level=info msg="Adding worker "radiodan-player-main-eca781f1-da14-11e5-8dd0-4331031c…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.