@inner-dj/client 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +23 -6
package/README.md CHANGED
@@ -47,3 +47,13 @@ Note that comma-separated values are accepted for environment variables.
47
47
  | maxLength | MAXLENGTH | number | How long in ms to wait during each track before skipping to the next track. Set to 0 to play audio files in their entirety. | 0 |
48
48
  | standbyPool | STANDBYPOOL | string[] | List of songs (YouTube URLs) to shuffle through if there are no requests in the queue. | [] |
49
49
  | blocked | BLOCKED | string[] | List of YouTube URLs to reject requests for. | [] |
50
+
51
+ ## Supplying Files
52
+
53
+ You can supply your own higher-quality audio files. Perfect for standby queue items, popular songs, or just if you've got more time than sense.
54
+
55
+ 1. Find the YouTube video(s) that correspond with the song and note their ID's
56
+ 1. Place the file in the downloads folder. Rename it to `<video ID>.<track name>.<file extension>`
57
+ 1. Make sure no other files that match that video ID exist in the downloads folder
58
+
59
+ This process can also be used to add standby queue items for songs that do not exist on YouTube. Just choose a random 11-character video ID or borrow one from an obscure video of your choice.
package/package.json CHANGED
@@ -1,13 +1,27 @@
1
1
  {
2
2
  "name": "@inner-dj/client",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "player component of inner-dj",
5
+ "keywords": [
6
+ "jukebox",
7
+ "jam",
8
+ "youtube",
9
+ "player"
10
+ ],
11
+ "bugs": {
12
+ "url": "https://codeberg.org/sanin/inner-dj/issues",
13
+ "email": "corysanin@outlook.com"
14
+ },
5
15
  "repository": {
6
16
  "type": "git",
7
17
  "url": "https://codeberg.org/sanin/inner-dj.git"
8
18
  },
9
19
  "license": "MIT",
10
- "author": "Cory Sanin",
20
+ "author": {
21
+ "name": "Cory Sanin",
22
+ "email": "corysanin@outlook.com",
23
+ "url": "https://sanin.dev/"
24
+ },
11
25
  "type": "module",
12
26
  "exports": {
13
27
  ".": {
@@ -26,24 +40,27 @@
26
40
  "!lib/**/*.js.map"
27
41
  ],
28
42
  "dependencies": {
29
- "content-disposition": "2.0.0",
30
- "fast-shuffle": "^6.1.1",
43
+ "content-disposition": "2.0.1",
44
+ "fast-shuffle": "^6.2.0",
31
45
  "get-youtube-id-ng": "1.0.1",
32
46
  "jsonwebtoken": "9.0.3",
33
47
  "ky": "^2.0.2",
34
- "lru-cache": "^11.4.0",
48
+ "lru-cache": "^11.5.1",
35
49
  "spawn-but-with-promises": "^1.0.4",
36
50
  "yaml": "^2.9.0",
37
- "@inner-dj/common": "0.1.5"
51
+ "@inner-dj/common": "0.1.6"
38
52
  },
39
53
  "devDependencies": {
40
54
  "@sindresorhus/tsconfig": "8.1.0",
41
55
  "@types/jsonwebtoken": "^9.0.10",
42
56
  "@types/node": "^24.12.4",
57
+ "@vercel/ncc": "^0.38.4",
43
58
  "typescript": "^6.0.3"
44
59
  },
45
60
  "scripts": {
46
61
  "build": "tsc && chmod +x ./lib/src/main.js",
62
+ "ncc": "pnpm run build && ncc build lib/src/main.js --license licenses.txt",
63
+ "sea": "pnpm run ncc && mkdir -p bin && node --build-sea sea-config.json",
47
64
  "start": "./lib/src/main.js"
48
65
  }
49
66
  }