Commit graph

349 commits

Author SHA1 Message Date
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
Snowflake107
9f69ddab60 documentation 2021-06-20 20:45:19 +05:45
Snowflake107
08da3834ec documentation 2021-06-20 20:39:02 +05:45
Snowflake107
839ce6d88e documentation 2021-06-20 20:36:47 +05:45
Snowflake107
e978cf4665 documentation 2021-06-20 20:31:57 +05:45
Snowflake107
141cb5f880 rename player 2021-06-20 20:11:16 +05:45
Snowflake107
fcd8a8e186 feat: documentation 2021-06-20 20:07:09 +05:45
Snowflake107
32ed41cbcb thanks ci 2021-06-20 18:13:41 +05:45
Snowflake107
62287227c1 revert last change 2021-06-20 16:07:18 +05:45
Snowflake107
a2f273d001 disable autoplay when there are multiple tracks 2021-06-20 15:51:52 +05:45
Snowflake107
99f0c585a3 fix EPIPE on empty encoderArgs 2021-06-20 15:15:39 +05:45
Snowflake107
621bd1c274 fix types 2021-06-20 14:59:47 +05:45
Snowflake107
6fa3c7265e audio filters 2021-06-20 14:13:46 +05:45
Snowflake107
8defefb76d audio filters 2021-06-20 14:12:57 +05:45
Snowflake107
9fcf9a86d8 prettier 2021-06-20 13:21:16 +05:45
Snowflake107
9b5747216e feat: autoplay 2021-06-20 13:21:05 +05:45
Snowflake107
0e96714baa base autoplay 2021-06-20 12:58:27 +05:45
Snowflake107
da0b85077b feat: seek 2021-06-20 12:42:17 +05:45
Snowflake107
31be4aa76d filters 2021-06-20 11:35:59 +05:45
Snowflake107
def049ab4b filters 2021-06-20 11:34:50 +05:45
Snowflake107
df731445fd audio filters 2021-06-20 11:22:59 +05:45
Snowflake107
2bb209baf5 fix: premature close 2021-06-20 01:33:48 +05:45
Snowflake107
644adb9202 fix: create all filters 2021-06-20 00:30:17 +05:45
Snowflake107
bcf410aef2 remove immediate play 2021-06-19 23:59:50 +05:45
Snowflake107
d38aded085 feat: audio filters support 2021-06-19 23:55:38 +05:45
Snowflake107
8902d06057 update queue 2021-06-19 19:57:13 +05:45
Snowflake107
b7060b26e7 encryption lib 2021-06-19 18:57:58 +05:45
Snowflake107
349cb4be2a remove unused imports 2021-06-19 18:04:08 +05:45
Snowflake107
bfd88e8d42 updates 2021-06-18 00:54:02 +05:45
Snowflake107
315d94acfe catch stream errors 2021-06-18 00:29:37 +05:45
Snowflake107
0619462f2c Player#use & Player#unuse should return the extractor 2021-06-18 00:02:55 +05:45
Snowflake107
233a24dd34 feat(Player#search): change User to UserResolvable 2021-06-17 19:46:07 +05:45
Snowflake107
687b001426 remove unnecessary file 2021-06-17 19:26:11 +05:45
Snowflake107
b2197d4f48 jsdoc correction 2021-06-17 19:11:30 +05:45
Snowflake107
4ed330958c update lot of things 2021-06-17 19:07:03 +05:45
Snowflake107
38db664871 prettier 2021-06-15 15:58:21 +05:45
Snowflake107
a74e95ed16 raw getter to value 2021-06-15 15:58:09 +05:45
Snowflake107
192a551a30 some jsdoc 2021-06-14 23:36:54 +05:45
Snowflake107
65e8c0e4f8 remove unused imports 2021-06-14 23:18:32 +05:45
Snowflake107
b7c2eabff5 some updates 2021-06-14 20:29:15 +05:45