Used version: lastest beta 0.9.10 for linux
OS: Centos 7
Description: On the previous version a simple script to set as description the current track info works. On the lastest 0.9.10 i can't see anything in console (also when log level is 10) and the script does not work anymore.
The script is the following:
OS: Centos 7
Description: On the previous version a simple script to set as description the current track info works. On the lastest 0.9.10 i can't see anything in console (also when log level is 10) and the script does not work anymore.
The script is the following:
Code:
registerPlugin({
name: 'name',
version: '1.0',
description: 'desc',
author: 'xDefcon',
vars: {}
},
function(sinusbot, config) {
sinusbot.on('track', function(ev) {
var track = getTrack();
if (!track) return;
var tit = track.title;
setDescription(tit);
});
});