Max Isom
34e45d6273
Add .removeOrphans()
2021-11-19 12:22:27 -05:00
Max Isom
f5149dfaba
Move file caching logic to new FileCache service
...
Also: removes the -re ffmpeg option.
If this option is passed, ffmpeg won't write to fs-capacitor (and the cache file) as fast as possible.
In other words, the cache file won't finish writing until the entire stream has been played.
2021-11-19 12:13:45 -05:00
Max Isom
04d8f8d390
Better DX for yarn dev
2021-11-19 12:02:33 -05:00
Max Isom
04c7e61fc0
Add FileCache model
2021-11-18 20:55:57 -05:00
Max Isom
d805da906a
Rename existing cache model
2021-11-18 20:50:44 -05:00
Max Isom
381ee62b78
Merge pull request #413 from Hellysonrp/fix-player-add-behavior
2021-11-17 20:03:16 -05:00
Hellyson Rodrigo Parteka
c16449b08f
fix: change player.add(...)
behavior
2021-11-17 20:17:08 -03:00
Max Isom
7b2401ff19
Merge pull request #373 from codetheweb/bugfix/only-add-listeners-once
2021-11-17 16:23:31 -05:00
Max Isom
dd81fc47fd
Merge branch 'master' into bugfix/only-add-listeners-once
2021-11-17 16:16:00 -05:00
Max Isom
41b050a2f1
Merge pull request #397 from Hellysonrp/discord-js-v13
2021-11-17 16:07:29 -05:00
Hellyson Rodrigo Parteka
96bf53b28a
fix: add missing DIRECT_MESSAGES
intent
2021-11-17 01:48:48 -03:00
Max Isom
9ee723b885
Bump @discordjs/opus to latest
2021-11-16 22:16:22 -05:00
Hellyson Rodrigo Parteka
eb8b783def
chore: update Lint & build
action to use nodejs 16
...
This is the first time I'm working with actions... I hope this works
2021-11-16 02:59:51 -03:00
DrunkenToast
20a030e307
gitignore, first commit fork
2021-11-12 22:45:43 +01:00
Hellyson Rodrigo Parteka
8448feebb6
feat: discord.js v13
2021-11-12 16:30:18 -03:00
Max Isom
a4e67d6383
Add -re flag
...
See #389 , https://trac.ffmpeg.org/wiki/StreamingGuide
2021-10-31 11:20:59 -04:00
Max Isom
defb56ed5e
Only add event listeners once
...
See #372
2021-10-03 12:59:26 -04:00
cheqpat
3924c8007c
Always autoplay rather than alerting that it is paused
2021-10-02 02:16:59 -05:00
cheqpat
b91e072e2f
implement @udany's fix
2021-10-02 02:14:47 -05:00
Thongrapee Panyapatiphan
33b0ffa244
Update parsing and validation logic for playlist-limit config
2021-10-01 23:59:33 +07:00
Thongrapee Panyapatiphan
847c578b5d
Remove custom getter
2021-10-01 23:49:22 +07:00
Thongrapee Panyapatiphan
4364f459be
Add playlist-limit in config command
2021-10-01 22:33:39 +07:00
Thongrapee Panyapatiphan
11eba5746d
Simplify code
2021-10-01 22:15:34 +07:00
Thongrapee Panyapatiphan
56a899250e
Remove eslint rule disable statement
2021-10-01 21:13:37 +07:00
Thongrapee Panyapatiphan
c9cc9a17b1
Read playlist song limit from Settings
2021-10-01 21:11:43 +07:00
Thongrapee Panyapatiphan
96dcc4a536
Revert "Add config for song limit per playlist"
...
This reverts commit 296a0a8178
.
2021-10-01 20:48:32 +07:00
Thongrapee Panyapatiphan
296a0a8178
Add config for song limit per playlist
2021-09-30 23:55:21 +07:00
Max Isom
811c80d544
Merge pull request #368 from Hellysonrp/fix-pretty-time
2021-09-28 10:47:37 -04:00
Hellyson Rodrigo Parteka
58cc548739
fix: wrong minute count in long videos
2021-09-28 04:27:55 -03:00
Max Isom
fe1717788f
Merge pull request #362 from DrowningWhale/master
2021-09-26 11:21:46 -04:00
Jordan Nguy
7e14084163
Binds recursive call function to keep original scope
2021-09-25 17:50:10 -07:00
Max Isom
c23f04ba5a
Warn if cache key is too short
...
See #357
2021-09-23 13:09:54 -04:00
Max Isom
a8676e6ebd
Merge pull request #358 from Hellysonrp/fix-playlist-load
2021-09-23 13:06:01 -04:00
Hellyson Rodrigo Parteka
3f210c53f4
fix: playlist load, cache key
...
Fixes #357
2021-09-23 00:41:26 -03:00
Max Isom
b5bb465cdc
Merge branch 'master' of github.com:codetheweb/muse
2021-09-22 15:53:39 -04:00
Max Isom
abb02912c8
Add support for music.youtube.com URLs
...
Closes #355
2021-09-22 15:53:04 -04:00
Max Isom
76c4a2a7e8
Update README.md
2021-09-22 09:22:06 -05:00
Max Isom
4a7108232a
Pin Node.js version
2021-09-20 20:42:29 -04:00
Max Isom
30a851a594
Add note about ffmpeg on Windows
2021-09-20 09:55:53 -04:00
Max Isom
dcac22832d
Bump linter version
2021-09-19 22:24:46 -04:00
Max Isom
fd782219ef
Move to ESM, use ytsr, implement caching
...
Closes #315
2021-09-19 22:09:09 -04:00
Max Isom
efcdeb78c8
Reorg third party services & config
2021-09-19 19:50:25 -04:00
Max Isom
79e7e88fab
Remove requirement for DISCORD_CLIENT_ID
...
Closes #336
2021-09-18 17:04:04 -04:00
Max Isom
9a2ef876d3
Correctly skip song if unavailable
...
Also lets user know in text channel that song is unavailable after skipping.
Fixes #324
2021-09-18 16:55:50 -04:00
Max Isom
81bbdb971d
Merge pull request #330 from luisfavila/join-user-voice-channel
2021-09-16 09:36:33 -04:00
Luis Ávila
cd9d5248ac
Join the message sender's channel if possible
2021-09-15 23:12:48 +01:00
Max Isom
c97206bb8b
Merge pull request #320 from luisfavila/fix-url-cleaning
2021-09-14 14:20:01 -04:00
Max Isom
af8e81a569
Fix lint issues
2021-09-14 14:18:17 -04:00
Luis Ávila
e59db76694
Fix URL cleaning: youtube IDs are not valid URLs
2021-09-14 19:07:43 +01:00
Max Isom
1212ffc102
Merge pull request #311 from likuilin/master
...
Remove Manage Messages perms requirement by only deleting own reactions
2021-09-14 13:39:45 -04:00