Commit graph

622 commits

Author SHA1 Message Date
Max Isom e8e7591730
Merge branch 'master' into playlist-limit-config 2021-12-18 12:13:13 -06:00
Max Isom d4827b86d5
Fix PR workflows 2021-12-18 12:12:38 -06:00
Max Isom 86605f76a5
Fix tagging during publishing 2021-12-18 12:07:37 -06:00
Max Isom 3db8b4cc1d
Lint & build on PRs 2021-12-18 12:05:25 -06:00
Thongrapee Panyapatiphan 5ce3f92023
Revert incorrect changes 2021-12-18 14:53:00 +07:00
Max Isom f92ec0dd42
0.1.1 2021-12-17 18:47:15 -06:00
Max Isom d8fc7d39e1
Merge pull request #420 from Hellysonrp/mutex 2021-12-17 19:45:13 -05:00
Max Isom 260e8702bf
Update changelog 2021-12-17 18:38:23 -06:00
Max Isom d07dc5baf4
Merge branch 'master' into mutex 2021-12-17 18:36:31 -06:00
Max Isom 55c98ff2a9
Don't create a new tag 2021-12-16 15:05:37 -05:00
Max Isom a73fd840f7
Update README 2021-12-16 15:03:31 -05:00
Max Isom f6376048eb
Add changelog, generate releases 2021-12-16 14:03:27 -05:00
Max Isom ea6367ccdc
Build every commit 2021-12-16 14:00:21 -05:00
Max Isom 7c1e860c50
Add PR template 2021-12-16 13:59:38 -05:00
dependabot[bot] 988fa2b880
Bump @types/node from 16.11.7 to 17.0.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.7 to 17.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-16 10:03:16 +00:00
Max Isom f91d69492f
Fix branch name 2021-12-13 20:28:56 -05:00
Max Isom 761ac9f7ed
Add PR workflow 2021-12-13 20:25:32 -05:00
dependabot[bot] 22061c2c66
Bump @types/ws from 8.2.0 to 8.2.2
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.2.0 to 8.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: "@types/ws"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 01:16:14 +00:00
Max Isom 0703193b68
Merge pull request #432 from codetheweb/feature/splash-banner 2021-12-13 20:14:42 -05:00
Max Isom ffc8493ea3
Add splash banner and spinner progress for initial connection 2021-12-13 20:11:14 -05:00
Max Isom fa4ba0bb9a
Merge pull request #425 from codetheweb/dependabot/npm_and_yarn/got-12.0.0 2021-12-12 13:51:24 -05:00
dependabot[bot] f35f1de7b8
Bump got from 11.8.2 to 12.0.0
Bumps [got](https://github.com/sindresorhus/got) from 11.8.2 to 12.0.0.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.2...v12.0.0)

---
updated-dependencies:
- dependency-name: got
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 18:42:09 +00:00
Max Isom 4e9c1e78c6
Merge pull request #407 from codetheweb/dependabot/npm_and_yarn/array-shuffle-3.0.0 2021-12-12 13:39:55 -05:00
Max Isom af515e8938
Merge pull request #409 from codetheweb/dependabot/npm_and_yarn/inversify-6.0.1 2021-12-12 13:39:34 -05:00
Max Isom d0c89a98a8
Merge pull request #422 from codetheweb/dependabot/npm_and_yarn/typescript-4.5.3 2021-12-12 13:39:05 -05:00
Max Isom 53d9280dc6
Merge pull request #346 from codetheweb/dependabot/npm_and_yarn/p-limit-4.0.0 2021-12-12 13:38:43 -05:00
Max Isom 01afa11c99
Merge pull request #424 from codetheweb/play-behavior-fix-gpg 2021-12-12 13:32:40 -05:00
Max Isom e4a8dde776
Always resume 2021-12-12 13:20:36 -05:00
Max Isom f1756b9e9c
Merge branch 'master' into play-behavior-fix-gpg 2021-12-12 13:00:05 -05:00
Max Isom f833b3b756
Merge branch 'master' into play-behavior-fix-gpg 2021-12-12 12:59:19 -05:00
dependabot[bot] d5b8cc82b7
Bump typescript from 4.4.4 to 4.5.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 10:03:20 +00:00
Thongrapee Panyapatiphan d8086be5cf
Merge branch 'master' into playlist-limit-config 2021-12-09 17:55:29 +07:00
Max Isom 0396949b39
Check database direction for orphans 2021-12-07 20:36:37 -05:00
Max Isom 29ec1d0092
Revert back to static property 2021-12-03 11:28:50 -05:00
Max Isom 7ff54b9495
Use loop instead of recursion 2021-12-03 11:06:56 -05:00
Max Isom 4ffd679ddb
Update debug logging 2021-12-03 10:52:30 -05:00
Max Isom 3f0f97f762
Return when queue is empty 2021-12-03 10:45:09 -05:00
Max Isom 70a55e9a2e
Disable @typescript-eslint/no-implicit-any-catch
(Strict mode in TS 4.4 enables useUnknownInCatchVariables, so this is redundant.)
2021-12-03 10:36:06 -05:00
Hellyson Rodrigo Parteka b52f9253c2
add some debug logs 2021-12-03 03:26:36 -03:00
Hellyson Rodrigo Parteka af82be13f9
fix(file-cache): add queue to handle eviction of old files
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-03 01:01:35 -03:00
Hellyson Rodrigo Parteka 3b2aa47e95
fix(file-cache): try/catch to prevent concurrency issues 2021-12-03 00:30:00 -03:00
dependabot[bot] 9abc7370a8
Bump p-limit from 3.1.0 to 4.0.0
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] <support@github.com>
2021-11-29 01:19:30 +00:00
dependabot[bot] e3c6ac4b24
Bump inversify from 5.1.1 to 6.0.1
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] <support@github.com>
2021-11-29 01:18:50 +00:00
dependabot[bot] d8b434b9bd
Bump array-shuffle from 2.0.0 to 3.0.0
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] <support@github.com>
2021-11-29 01:18:41 +00:00
Max Isom 9afca25866
Merge pull request #415 from codetheweb/feature/better-file-caching 2021-11-28 19:42:32 -05:00
Max Isom 9f9469f682
Add back -re option on uncached streams 2021-11-24 13:16:44 -06:00
Max Isom 49664be9e1
Change event to close 2021-11-24 12:03:54 -06:00
Max Isom 71b62cb3aa
Merge branch 'master' into feature/better-file-caching 2021-11-24 11:42:38 -06:00
Max Isom f146a2a57c
Merge pull request #417 from DrunkenToast/remove 2021-11-20 19:05:52 -05:00
Max Isom 2903fcf0f8
Revert changes to .gitignore 2021-11-20 19:04:34 -05:00