Commit graph

407 commits

Author SHA1 Message Date
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
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
Snowflake107
7f73e02a60 ytdl options 2021-06-14 20:17:37 +05:45
Snowflake107
62bf57ac74 feat: extractors implementation 2021-06-14 19:35:36 +05:45
Snowflake107
7f34fbd786 fix youtube playlist not playing 2021-06-14 13:13:31 +05:45
Snowflake107
d5e3f6225c return playlist 2021-06-14 12:33:32 +05:45
Snowflake107
d27b9f8180 chore(prettier): format code 2021-06-14 12:30:03 +05:45
Snowflake107
8c61b88956 playlists 2021-06-14 12:29:32 +05:45
Snowflake107
0fc48b731c update volume calculator 2021-06-14 10:31:29 +05:45
Snowflake107
58c3589295 connection event 2021-06-14 01:19:59 +05:45
Snowflake107
0cdcda381b remove unused events 2021-06-14 01:14:57 +05:45
Snowflake107
f3f7c9b490 chore(prettier): format files 2021-06-14 00:13:37 +05:45
MegaPixel
f1356f6d08
Merge branch 'master' into v5 2021-06-13 23:32:06 +05:45
Snowflake107
cfb4aaac41 previous track cache 2021-06-13 22:42:58 +05:45
Snowflake107
a43df93abe feat: voice states handling 2021-06-13 22:32:04 +05:45
Snowflake107
da5f4a64ba partial playlist implementation 2021-06-13 20:16:27 +05:45
Snowflake107
11de5d8038 spotify track support 2021-06-13 18:54:25 +05:45
Snowflake107
2e75728d11 implement back method to play previous track 2021-06-13 18:31:15 +05:45
Snowflake107
fec70a25a1 implement looping system 2021-06-13 18:28:36 +05:45
Snowflake107
dac08c1d3f implement soundcloud search 2021-06-13 17:48:20 +05:45
Snowflake107
f38e5a8b11 basic JSDOC 2021-06-13 16:25:41 +05:45
Snowflake107
580f4aa9c6 better paused status 2021-06-13 16:13:02 +05:45
Snowflake107
9e3b66ee8a Queue#events 2021-06-13 15:07:45 +05:45
Snowflake107
b87485edb5 events 2021-06-13 15:05:05 +05:45
Snowflake107
3d908e53d1 fix volume issue 2021-06-13 14:51:01 +05:45
Snowflake107
d36f528518 check for metadata while creating queue 2021-06-13 14:38:13 +05:45
Snowflake107
91153826ce example bot 2021-06-13 14:29:49 +05:45
Snowflake107
02d77264d7 feat: tracksAdd event 2021-06-13 14:02:50 +05:45
Snowflake107
e611143f58 properly delete queue 2021-06-13 13:56:54 +05:45
Snowflake107
b97e8e61fc basic slash commands bot 2021-06-13 13:51:19 +05:45
Snowflake107
5239e5f9cc jsdoc 2021-06-13 11:40:20 +05:45
Snowflake107
1f6e6d1098 move things a bit 2021-06-12 19:07:45 +05:45
Snowflake107
2206d68dfb player utils 2021-06-12 12:22:41 +05:45
Snowflake107
502fe11392 get the basic bot working 2021-06-12 01:04:48 +05:45
Snowflake107
61c30986ea get the basic bot working 2021-06-12 01:03:53 +05:45
Snowflake107
a823c6f173 setup basic player and example 2021-06-12 00:24:21 +05:45
Snowflake107
181131f755 basic player 2021-06-12 00:04:52 +05:45
Snowflake107
5ba21c3337 feat(Structures): Generator function 2021-06-11 20:42:49 +05:45
Snowflake107
de67a98150 query resolver 2021-06-11 20:40:30 +05:45
Snowflake107
19039f8d9b feat(VoiceInterface): metadata 2021-06-11 17:35:43 +05:45
Snowflake107
5d5fd03997 feat(Structures): basic setup 2021-06-11 16:20:04 +05:45
Snowflake107
1e45ebc54c feat(Structures): basic setup 2021-06-11 16:17:22 +05:45
Snowflake107
d5fda6cf1e feat: import basic stuff from v4 2021-06-11 15:30:27 +05:45
Snowflake107
f8e8f2d8a9 feat(VoiceSubscription): mirror basic methods 2021-06-11 15:26:48 +05:45