Commit graph

314 commits

Author SHA1 Message Date
Maxim Coppieters
3c39020e2a Add JSDoc for trackEnd event 2021-08-09 14:47:06 +02:00
DevAndromeda
aecb61f174
fix(Player): get correct info for youtube video links 2021-08-08 12:13:15 +05:45
DevAndromeda
9a8db67b44
feat: expose library version 2021-08-08 11:52:50 +05:45
DevAndromeda
481f4f715a
feat: expose library version 2021-08-08 11:52:35 +05:45
DevAndromeda
e66ef442e2
refactor(*): us timer.unref() 2021-08-08 00:20:51 +05:45
DevAndromeda
a174c6b4aa
refactor(Queue): make bufferingTimeout 3 seconds 2021-08-07 23:01:44 +05:45
DevAndromeda
2575e2ab72
fix(Util): fix time code builder 2021-08-07 22:56:00 +05:45
DevAndromeda
bce34c9fc8
feat(Player): add connectionTimeout option 2021-08-07 21:21:58 +05:45
DevAndromeda
db806fcce3
feat(Player): add connectionTimeout option 2021-08-07 21:21:22 +05:45
DevAndromeda
5a5e308105
feat(Player): add connectionTimeout option 2021-08-07 21:19:31 +05:45
DevAndromeda
59b1c60440
feat: create PlayerError 2021-08-07 20:10:21 +05:45
DevAndromeda
02ba9b8677
chore: prettier 2021-08-07 12:11:49 +05:45
DevAndromeda
ac5caa4b5c
refactor(Util): make noop function instead of getter 2021-08-07 12:11:20 +05:45
DevAndromeda
21b5d1d0c5
fix(Player): add default highWaterMark to try avoiding aborts 2021-08-05 15:09:58 +05:45
DevAndromeda
74faa9bad2
chore: add bundlers 2021-08-05 14:50:42 +05:45
DevAndromeda
a617e5f750
fix(Player): add missing event 2021-08-05 14:37:28 +05:45
DevAndromeda
6b68c24d22 Merge branch 'v5' of https://github.com/Androz2091/discord-player into v5 2021-08-05 14:32:09 +05:45
DevAndromeda
ebf8e8cb04
refactor(VoiceInterface): remove unnecessary adapter creator 2021-08-05 14:27:49 +05:45
Andromeda
7f71bf1a7a
Merge branch 'master' into v5 2021-08-03 08:43:00 +05:45
L0SER
30ccaeaa12
Update Queue.ts 2021-07-26 09:14:21 +05:30
DevAndromeda
399105eec9
feat(Queue): add bufferingTimeout 2021-07-21 11:12:40 +05:45
Snowflake107
92a3409e4f
bump deps 2021-07-10 15:46:45 +05:45
Snowflake107
cffa46a512 chore: format code 2021-07-05 23:02:40 +05:45
Snowflake107
34d4abf427
refactor(static classes): extend null 2021-07-05 22:59:51 +05:45
Snowflake107
245745b22c refactor: xID to xId 2021-07-05 13:08:56 +05:45
Snowflake107
eebc4b2c92
chore: remove unnecessary comment 2021-07-05 12:18:03 +05:45
Snowflake107
6e6bd432c0
refactor(Queue): Remove queue from createProgressBar 2021-07-05 12:13:06 +05:45
Snowflake107
a9cbc9df01
fix disconnect issue 2021-07-04 20:12:56 +05:45
Snowflake107
1a5e4cf2b8
add resolveQueue method 2021-07-04 19:20:40 +05:45
Snowflake107
b0fa954738
temporarily fix typings issue 2021-07-04 18:57:27 +05:45
Snowflake107
5b761308a0 queue: check connection before ending 2021-07-04 13:54:32 +05:45
Snowflake107
f395fcff9e
watch destroyed if queue is not destroyed 2021-07-03 19:31:39 +05:45
Snowflake107
173c0d5340
bump discord.js 2021-07-03 18:31:18 +05:45
u-sayuri
4639eb780b
Update Player.ts
Resolve to match requirements
Fix some false implementations of the code so `trackStart` event displays the correct track
2021-07-02 12:30:02 +07:00
u-sayuri
9fb493b3df
Update Player.ts
Add JSDoc descriptions
2021-06-30 23:21:19 +07:00
u-sayuri
972d2641bd
Update Player.ts
Fix typo
2021-06-30 23:18:11 +07:00
u-sayuri
6d9997dd4f
Proposal changes based on #477
This fixes the problem where the first track of parsed youtube playlist gets played twice;
Changed code order so initial `trackStart` event can now see the queue;
Added a new parameter to `Player#play` and `Player_searchTracks`: `startFromIndex (number)`: 
This parameter lets the user priorities the track with corresponding index (array index, starts from 0), `0` by default.
If one is specified and there is no queue, the specified track will be played first;
Otherwise if it's already playing then the specified track will be put on the first index of the added playlist.
2021-06-30 23:13:07 +07:00
Snowflake107
67648af97b feat(Queue): queue#insert method 2021-06-30 01:14:44 +05:45
SN0WF14K3
47039821ee
Merge branch 'master' into v5 2021-06-29 22:52:00 +05:45
SN0WF14K3
8e876fbfac
Update Player.ts 2021-06-29 00:08:28 +05:45
Snowflake107
563cc2e050 Use youtube-sr getVideo 2021-06-29 00:03:54 +05:45
Snowflake107
355157a753 revert extractor first 2021-06-28 23:59:45 +05:45
Snowflake107
ae53248299 feat(Queue): mute/unmute 2021-06-26 12:25:24 +05:45
Snowflake107
efe3a051f1 fix Track#id JSDOC 2021-06-26 01:05:29 +05:45
Snowflake107
7afee914f3 track id 2021-06-26 00:59:07 +05:45
Snowflake107
2423ba72e1 Voice state handling 2021-06-26 00:53:34 +05:45
Snowflake107
574c163f5b events 2021-06-25 15:55:03 +05:45
Snowflake107
bd4bcb93d0 remove StreamUtils 2021-06-25 14:30:23 +05:45
Snowflake107
1d55792f1f rename BasicStreamDispatcher 2021-06-25 13:09:53 +05:45
Snowflake107
395f928e2e attach backup adapter creator 2021-06-24 11:28:30 +05:45