muzak icon indicating copy to clipboard operation
muzak copied to clipboard

squeezeplayer.js method issue

Open MikeDeSantis opened this issue 8 years ago • 0 comments

I noticed in \muzak\node_modules\squeezenode-lordpengwin\squeezeplayer.js that methods .next and .previous have the same button push definition. Is this a copy and paste error? Proposing removing method at 116.

Lines 116 and 120 and 124:

this.**next** = function (callback) {
    this.request(playerId, ["button", "**jump_rew**"], callback);
};

this.**previous** = function (callback) {
    this.request(playerId, ["button", "**jump_rew**"], callback);
};

this.**next** = function (callback) {
    this.request(playerId, ["button", "**jump_fwd**"], callback);
};

MikeDeSantis avatar Nov 03 '16 18:11 MikeDeSantis