Skip to content

Commit 56c3e7b

Browse files
committed
Added needed jest test reqs
1 parent 6187035 commit 56c3e7b

File tree

4 files changed

+269
-5
lines changed

4 files changed

+269
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ So please, watch the [relevant pull request](https://github.com/nhkrecord/nhk-re
1414

1515
If you are running an existing instance of nhk-record that has stopped working, please update the "streamURL" variable located in your `config.json` to the URL as follows:
1616

17-
`"streamUrl": "https://nhkwlive-xjp.akamaized.net/hls/live/2003458/nhkwlive-xjp-en/index_2M.m3u8",`
17+
`"streamUrl": "https://b-nhkwlive-ojp.nhkworld.jp/hls/live/2003459-b/nhkwlive-ojp-en/index_4M.m3u8",`
1818

1919
## Dependencies
2020

21-
- [Node.js](https://github.com/nodejs/node) `>= 15.x`
22-
- [FFmpeg](https://github.com/FFmpeg/FFmpeg) `>= 4.3`
21+
- [Node.js](https://github.com/nodejs/node) `>= 20.11.1`
22+
- [FFmpeg](https://github.com/FFmpeg/FFmpeg) `>= 4.4.4`
2323

2424
This software is only tested on Linux and macOS. For running on Windows, [Docker for Windows](https://docs.docker.com/docker-for-windows/install/) may be the best option. See [Running as a docker container](#running-as-a-docker-container).
2525

@@ -107,7 +107,7 @@ The location of the config file can be specified with the `-c` option.
107107
"safetyBuffer": 40000,
108108
"saveDir": "/recordings/",
109109
"scheduleUrl": "https://nwapi.nhk.jp",
110-
"streamUrl": "https://nhkwlive-xjp.akamaized.net/hls/live/2003458/nhkwlive-xjp-en/index_2M.m3u8",
110+
"streamUrl": "https://b-nhkwlive-ojp.nhkworld.jp/hls/live/2003459-b/nhkwlive-ojp-en/index_4M.m3u8",
111111
"threadLimit": 0,
112112
"timeOffset": 0,
113113
"trim": true

package-lock.json

Lines changed: 262 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"@semantic-release/release-notes-generator": "^12.1.0",
3838
"@types/app-root-path": "^1.2.4",
3939
"@types/compare-func": "^1.3.0",
40+
"@types/jest": "^29.5.12",
4041
"@types/micromatch": "^4.0.1",
4142
"@types/node": "^14.14.7",
4243
"@types/node-fetch": "^2.5.7",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"resolveJsonModule": true,
99
"sourceMap": true,
1010
"target": "es2020",
11-
"outDir": "lib"
11+
"outDir": "lib",
12+
"types": ["jest", "node"]
1213
},
1314
"include": ["src/**/*.ts"],
1415
"exclude": ["node_modules/**/*"]

0 commit comments

Comments
 (0)