• If you need help or want to discuss things, you now can also join us on our Discord Server!

EN Auto Stop in playlist.

jusplainmike

New Member
I am trying to find a way to prevent autoplay on my playlist.

registerPlugin({
name: 'Demo Script',
version: '1.0',
description: 'This example actually does nothing',
author: 'Author <author[at]example.com>',
vars: []
}, function(sinusbot, config) {

var event = require("event");
var media = require("media");


event.on("trackEnd", function (ev) {
media.stop();
});
});

Script loads without error but doesn't stop autoplaying of playlist files.
 

Similar threads

Top