Commit graph

388 commits

Author SHA1 Message Date
DevAndromeda
1c9a00bf1a
fix(Queue): watch destroyed state for insert method 2021-09-06 20:12:11 +05:45
DevAndromeda
751ce122bc
feat(Queue): add skipTo method 2021-09-06 20:02:55 +05:45
DevAndromeda
aff198a8a8
style: remove useless comment 2021-08-29 11:37:11 +05:45
Samiul Islam
3b92e9d492
Update Queue.ts 2021-08-27 13:17:01 +06:00
DevAndromeda
dd91244e43
fix(StreamDispatcher): check if resource has ended 2021-08-23 18:36:03 +05:45
DevAndromeda
edc54bb38a
fix(Player): check connection before setting channel 2021-08-23 18:25:25 +05:45
DevAndromeda
2344265fda
fix(Queue): fix jump 2021-08-23 18:16:53 +05:45
DevAndromeda
731e30967c
fix(Queue): set volume before playing 2021-08-23 18:10:31 +05:45
DevAndromeda
6d9d427e4e
fix(Player): fix soundcloud 2021-08-23 18:03:07 +05:45
DevAndromeda
2fc1089886
fix(Player): always emit channelEmpty 2021-08-19 16:49:19 +05:45
DevAndromeda
eef33649b2
feat(Queue): add debug log 2021-08-13 21:29:27 +05:45
DevAndromeda
53d711b643
fix(ExtractorModel): add source info 2021-08-12 16:30:18 +05:45
DevAndromeda
1fc810bce5
fix(StreamDispatcher): forward error created by AudioPlayer.play() 2021-08-12 16:11:44 +05:45
DevAndromeda
065e028717
fix(StreamDispatcher): forward error created by AudioPlayer.play() 2021-08-12 16:11:33 +05:45
DevAndromeda
6439590e28
refactor(Queue): remove mute/unmute 2021-08-12 16:07:43 +05:45
DevAndromeda
0617829d23
fix(Queue): fix autoplay error on stop call 2021-08-11 12:16:59 +05:45
DevAndromeda
92565b5f5b
fix(Playlist): revert last changes 2021-08-11 11:29:36 +05:45
DevAndromeda
f806d1bf85
fix(Playlist): avoid circular calls 2021-08-11 11:27:51 +05:45
Joshua Yuen
8a46d1220a Fix jump() bug 2021-08-11 01:00:29 -04:00
Andromeda
477b59741b
Merge pull request #676 from MaxTechnics/master
docs: fix typo
2021-08-09 20:45:22 +05:45
Maxim Coppieters
f633a7c0dd Fix minor typos 2021-08-09 16:56:40 +02:00
DevAndromeda
c116097954
fix(Player): add intents checking 2021-08-09 18:49:58 +05:45
DevAndromeda
615c3ad82f
fix(Player): add intents checking 2021-08-09 18:49:35 +05:45
DevAndromeda
5780e6e6f4
fix(Player): add intents checking 2021-08-09 18:43:18 +05:45
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
Snowflake107
6db3cdb7b2 handle destroyed 2021-06-24 11:09:34 +05:45
Snowflake107
2a6d9a74f4 queue utils 2021-06-24 11:05:12 +05:45
Snowflake107
1d88db1711 fix queueInitOptions being undefined 2021-06-24 10:02:53 +05:45
Snowflake107
c925ca442e make QueueFilters interface 2021-06-23 17:54:23 +05:45
Snowflake107
fb864c08ac handle voice states 2021-06-23 16:19:53 +05:45
Snowflake107
a0b04d7a62 fix: autoplay 2021-06-23 15:30:11 +05:45
Snowflake107
ed92e332ab add StreamUtils 2021-06-23 15:10:39 +05:45
Snowflake107
2b82fe2b70 adapter creator for djs v12 2021-06-23 00:56:50 +05:45
Snowflake107
f5c4ea6e86 merge master 2021-06-22 22:20:12 +05:45
Snowflake107
7f5fc57677 make it suitable for extractor 2021-06-22 21:55:23 +05:45
Snowflake107
1ce6213a04 feat: extractor first 2021-06-22 20:29:59 +05:45
Snowflake107
6e70970cc4 handle null resource 2021-06-22 20:23:00 +05:45
Snowflake107
f0259b39ce emit audio resource 2021-06-22 16:35:31 +05:45
Snowflake107
b485ed8a9f setup linter 2021-06-22 16:09:05 +05:45
Snowflake107
821e3d1053 check track before adding 2021-06-22 12:53:52 +05:45
Snowflake107
9dc01b68bb audio filters 2021-06-22 12:01:24 +05:45
Snowflake107
3fd002187d deps 2021-06-22 11:31:20 +05:45
Snowflake107
5db4405e03 docs 2021-06-22 11:23:21 +05:45
Snowflake107
4acd25a6ab re-implement voice 2021-06-22 11:18:20 +05:45
Snowflake107
8d80d82caa types 2021-06-21 11:50:19 +05:45
Snowflake107
733ab098d8 documentation 2021-06-21 11:19:49 +05:45
Snowflake107
3c93695fc0 documentation 2021-06-21 11:18:55 +05:45
Snowflake107
63eb26dc7b documentation 2021-06-21 11:16:28 +05:45
Snowflake107
86bd8ad733 documentation 2021-06-21 11:10:08 +05:45
Snowflake107
4ab102c81d documentation 2021-06-21 11:07:17 +05:45
Snowflake107
405f08b4e8 documentation 2021-06-21 11:04:29 +05:45