Commit graph

408 commits

Author SHA1 Message Date
and
05d6288344
Merge pull request #844 from umutdeveci/master
fix(Player): pass ytdl options to ytdlGetInfo
2021-11-05 11:12:48 +05:45
DooM
1f8b93314b
Merge branch 'develop' into patch-3 2021-11-04 17:10:15 +07:00
DevAndromeda
a0badb849d
feat(Queue): add spotifyBridge option 2021-10-17 13:09:30 +05:45
DevAndromeda
1d113e3ff8
feat(Queue): add spotifyBridge option 2021-10-17 13:05:00 +05:45
DevAndromeda
edb517c8c6
feat(Queue): add spotifyBridge option 2021-10-17 13:04:10 +05:45
DooM
4800e7cb7e
Update Player.ts
connection.channel rapidly changing in a large server with a busy voicestate, it shud never change.
fix: it shud only change the connection.channel when the bot being moved somewhere else.
also fixing how it handles voice move so it triggers channelEmpty correctly, on member move from connection.channel and bot move to an empty channel.
last thing is limiting the join and leave to the connection.channel only
2021-10-16 05:09:12 +07:00
DooM
f7813170de
Fix AUTOPLAY
it should fix the autoplay mode.
autoplay should never ignore a track in a queue and should be triggered when the queue is empty.
2021-10-15 07:32:58 +07:00
Umut
c818bd5e8d Pass ytdlOptions for ytdlGetInfo 2021-10-11 23:42:17 +02:00
Andromeda
9336ca08d5
refactor(Queue): allow undefined to be returned 2021-09-29 12:41:09 +05:45
DevAndromeda
c4dc0fe9f2 Merge branch 'develop' of https://github.com/Androz2091/discord-player into develop 2021-09-25 21:20:50 +05:45
DevAndromeda
ef239229d4
refactor(Queue): rename createStream to onBeforeCreateStream 2021-09-25 21:20:19 +05:45
Andromeda
9f82db0dc6
Merge pull request #789 from LOLBRUHNICE/master
fix: connection destroy error
2021-09-25 21:02:28 +05:45
Andromeda
623b3051d4
docs(AudioFilters): fix typo 2021-09-23 19:38:32 +05:45
Andromeda
ad9212c0e9
fix(Track): fix toJSON causing errors 2021-09-21 10:39:56 +05:45
LOLBRUHNICE
9a18499aab
handle voice connection destroy error 2021-09-19 14:32:45 +08:00
Hubert
16484f461b fix(Player): don't change connection channel when random user joins 2021-09-13 20:08:02 +02:00
DevAndromeda
65ddf6a4e8
docs: properly document createStream 2021-09-07 10:33:56 +05:45
DevAndromeda
1357e10d94
refactor(Queue): add queue parameter to createStream 2021-09-06 22:30:52 +05:45
DevAndromeda
ea8108979b
fix(Queue): fix createStream 2021-09-06 21:53:07 +05:45
DevAndromeda
38c0e209a0
feat(Queue): add createStream method 2021-09-06 21:32:19 +05:45
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