anjanms / DubAPI

A Node.js API for creating queup.net bots.
MIT License
20 stars 10 forks source link

queueMedia works, but does not join queue #25

Closed mreinhardt closed 7 years ago

mreinhardt commented 8 years ago

Dubtrack recently added a "feature" where users are not automatically added to the room queue even if they have tracks in their room playlist. You either have to click the "Join Queue" button below the video or the "You are not in the room queue, click here to join :]" notification in the queue list.

The new queueMedia method does work! However, the bot doesn't join the queue due to the above. joinQueue and leaveQueue methods and functionality will need to be added.

Fuechschen commented 8 years ago

Try calling bot.pauseQueue(false)

anjanms commented 8 years ago

As @Fuechschen said; you 'join' and 'leave' the queue by calling pauseQueue(false) and pauseQueue(true) respectively.

There is a disconnect between what the front-end says and what it actually does. The join/leave queue feature is actually the pause queue feature, just changed a bit.