mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-08 23:33:39 +00:00
add lightfactory discovery
This commit is contained in:
@@ -5,10 +5,10 @@ exports.config = {
|
||||
mayChangePorts: true,
|
||||
searchOptions: {
|
||||
type: 'TCPport',
|
||||
searchBuffer: Buffer.from('authenticate 1\n', 'ascii'),
|
||||
searchBuffer: Buffer.from('\n', 'ascii'),
|
||||
testPort: 3100,
|
||||
validateResponse(msg, info) {
|
||||
return msg.toString().substring(0, 5) === 'Ready';
|
||||
return msg.toString().includes('LightFactory');
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user