lordpengwin / muzak

Amazon Echo Skill for Logitech/Squeezebox Media Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

squeezeplayer.js method issue

MikeDeSantis opened this issue · comments

commented

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);
};