@bililive-tools/manager 1.4.1 → 1.5.0

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/lib/utils.js +2 -1
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -127,7 +127,8 @@ export function isFfmpegStartSegment(line) {
127
127
  return line.includes("Opening ") && line.includes("for writing");
128
128
  }
129
129
  export function isFfmpegStart(line) {
130
- return line.includes("frame=") && line.includes("fps=");
130
+ return ((line.includes("frame=") && line.includes("fps=")) ||
131
+ (line.includes("speed=") && line.includes("time=")));
131
132
  }
132
133
  export const formatTemplate = function template(string, ...args) {
133
134
  const nargs = /\{([0-9a-zA-Z_]+)\}/g;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bililive-tools/manager",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Batch scheduling recorders",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",