Skip to content

Commit

Permalink
Added needed jest test reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
CoordSpace committed Apr 5, 2024
1 parent 6187035 commit 56c3e7b
Show file tree
Hide file tree
Showing 4 changed files with 269 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ So please, watch the [relevant pull request](https://github.com/nhkrecord/nhk-re

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:

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

## Dependencies

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

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).

Expand Down Expand Up @@ -107,7 +107,7 @@ The location of the config file can be specified with the `-c` option.
"safetyBuffer": 40000,
"saveDir": "/recordings/",
"scheduleUrl": "https://nwapi.nhk.jp",
"streamUrl": "https://nhkwlive-xjp.akamaized.net/hls/live/2003458/nhkwlive-xjp-en/index_2M.m3u8",
"streamUrl": "https://b-nhkwlive-ojp.nhkworld.jp/hls/live/2003459-b/nhkwlive-ojp-en/index_4M.m3u8",
"threadLimit": 0,
"timeOffset": 0,
"trim": true
Expand Down
262 changes: 262 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/app-root-path": "^1.2.4",
"@types/compare-func": "^1.3.0",
"@types/jest": "^29.5.12",
"@types/micromatch": "^4.0.1",
"@types/node": "^14.14.7",
"@types/node-fetch": "^2.5.7",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"resolveJsonModule": true,
"sourceMap": true,
"target": "es2020",
"outDir": "lib"
"outDir": "lib",
"types": ["jest", "node"]
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules/**/*"]
Expand Down

0 comments on commit 56c3e7b

Please sign in to comment.