aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-12-03Update debug loggingMax Isom1-8/+5
2021-12-03Return when queue is emptyMax Isom1-7/+9
2021-12-03Disable @typescript-eslint/no-implicit-any-catchMax Isom2-3/+4
(Strict mode in TS 4.4 enables useUnknownInCatchVariables, so this is redundant.)
2021-12-03add some debug logsHellyson Rodrigo Parteka1-1/+7
2021-12-03fix(file-cache): add queue to handle eviction of old filesHellyson Rodrigo Parteka1-4/+12
This commit also removes the `await` from every stream creation. The eviction will be handled totally assyncronously. The only drawback is the possibility of exceeding the cache limit for a moment, until the next execution of `evictOldest`. This will only be a problem if the cache is set too close to the remaining disk space, which I wouldn't recomend. I also removed the recursion.
2021-12-03fix(file-cache): try/catch to prevent concurrency issuesHellyson Rodrigo Parteka1-3/+7
2021-11-29Bump p-limit from 3.1.0 to 4.0.0dependabot[bot]2-2/+14
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 3.1.0 to 4.0.0. - [Release notes](https://github.com/sindresorhus/p-limit/releases) - [Commits](https://github.com/sindresorhus/p-limit/compare/v3.1.0...v4.0.0) --- updated-dependencies: - dependency-name: p-limit dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29Bump inversify from 5.1.1 to 6.0.1dependabot[bot]2-5/+5
Bumps [inversify](https://github.com/inversify/InversifyJS) from 5.1.1 to 6.0.1. - [Release notes](https://github.com/inversify/InversifyJS/releases) - [Changelog](https://github.com/inversify/InversifyJS/blob/master/CHANGELOG.md) - [Commits](https://github.com/inversify/InversifyJS/compare/5.1.1...v6.0.1) --- updated-dependencies: - dependency-name: inversify dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29Bump array-shuffle from 2.0.0 to 3.0.0dependabot[bot]2-5/+5
Bumps [array-shuffle](https://github.com/sindresorhus/array-shuffle) from 2.0.0 to 3.0.0. - [Release notes](https://github.com/sindresorhus/array-shuffle/releases) - [Commits](https://github.com/sindresorhus/array-shuffle/compare/v2.0.0...v3.0.0) --- updated-dependencies: - dependency-name: array-shuffle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2021-11-28Merge pull request #415 from codetheweb/feature/better-file-cachingMax Isom19-158/+364
2021-11-24Add back -re option on uncached streamsMax Isom1-9/+11
2021-11-24Change event to closeMax Isom1-2/+2
2021-11-24Merge branch 'master' into feature/better-file-cachingMax Isom5-4/+86
2021-11-20Merge pull request #417 from DrunkenToast/removeMax Isom5-4/+86
2021-11-20Revert changes to .gitignoreMax Isom2-9/+1
2021-11-20Merge branch 'master' into removeMax Isom1-2/+6
2021-11-20Update stringsMax Isom2-13/+10
2021-11-20fix: loading message isn't requiredDrunkenToast1-13/+9
2021-11-20fix: range and q size checkDrunkenToast1-1/+6
2021-11-20feat: remove from queueDrunkenToast4-2/+86
+ fix typo queuecommand
2021-11-20fix: change `player.add(...)` behaviorHellyson Rodrigo Parteka1-16/+3
2021-11-20fix: add missing `DIRECT_MESSAGES` intentHellyson Rodrigo Parteka1-0/+1
2021-11-20Bump @discordjs/opus to latestMax Isom2-465/+415
2021-11-20chore: update `Lint & build` action to use nodejs 16Hellyson Rodrigo Parteka1-0/+3
This is the first time I'm working with actions... I hope this works
2021-11-20feat: discord.js v13Hellyson Rodrigo Parteka13-159/+382
2021-11-20Only add event listeners onceMax Isom1-2/+6
See #372
2021-11-19Add .removeOrphans()Max Isom1-3/+11
2021-11-19Move file caching logic to new FileCache serviceMax Isom12-52/+154
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-19Better DX for `yarn dev`Max Isom2-86/+163
2021-11-18Add FileCache modelMax Isom7-9/+26
2021-11-18Rename existing cache modelMax Isom4-8/+8
2021-11-17Merge pull request #413 from Hellysonrp/fix-player-add-behaviorMax Isom1-16/+3
2021-11-17fix: change `player.add(...)` behaviorHellyson Rodrigo Parteka1-16/+3
2021-11-17Merge pull request #373 from codetheweb/bugfix/only-add-listeners-onceMax Isom1-2/+6
2021-11-17Merge branch 'master' into bugfix/only-add-listeners-onceMax Isom14-581/+763
2021-11-17Merge pull request #397 from Hellysonrp/discord-js-v13Max Isom14-579/+760
2021-11-17fix: add missing `DIRECT_MESSAGES` intentHellyson Rodrigo Parteka1-0/+1
2021-11-16Bump @discordjs/opus to latestMax Isom2-465/+415
2021-11-16chore: update `Lint & build` action to use nodejs 16Hellyson Rodrigo Parteka1-0/+3
This is the first time I'm working with actions... I hope this works
2021-11-12gitignore, first commit forkDrunkenToast1-0/+8
2021-11-12feat: discord.js v13Hellyson Rodrigo Parteka13-155/+382
2021-10-31Add -re flagMax Isom1-0/+1
See #389, https://trac.ffmpeg.org/wiki/StreamingGuide
2021-10-03Only add event listeners onceMax Isom1-2/+6
See #372
2021-10-02Always autoplay rather than alerting that it is pausedcheqpat1-1/+2
2021-10-02implement @udany's fixcheqpat1-4/+8
2021-10-01Update parsing and validation logic for playlist-limit configThongrapee Panyapatiphan1-2/+2
2021-10-01Remove custom getterThongrapee Panyapatiphan1-6/+2
2021-10-01Add playlist-limit in config commandThongrapee Panyapatiphan1-1/+15
2021-10-01Simplify codeThongrapee Panyapatiphan1-2/+2
2021-10-01Remove eslint rule disable statementThongrapee Panyapatiphan1-1/+0