Fudge
Member
Hello, I would like to stream to an Icecast 2 server. I've found a script on the forum before, which is this:
However, this doesn't work, it only gives me this in the instance log:
Code:
registerPlugin({
name: 'stream2icecast',
version: '1.0',
description: '',
author: 'Michael Friese <[email protected]>',
whose: {
streamServer: {
title: 'http://sv.something.com:8000/autodj',
type: 'string'
},
streamPassword: {
title: 'blahblahblah',
type: 'string'
}
}
}, function(sinusbot, config) {
if (config.streamServer && config.streamPassword) sinusbot.streamToServer(config.streamServer, 'source', config.streamPassword);
});
However, this doesn't work, it only gives me this in the instance log:
Code:
2017-12-18T13:11:37+00:00 Initialization complete
2017-12-18T13:11:37+00:00 Loading script streamtoicecast