@ossclip/core 0.1.17 → 0.1.18
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.
- package/package.json +1 -1
- package/src/concat.ts +7 -1
package/package.json
CHANGED
package/src/concat.ts
CHANGED
|
@@ -20,7 +20,13 @@ import { run } from "./exec";
|
|
|
20
20
|
* `listFolderVideos` and `concatFolder` are the only I/O.
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
/**
|
|
24
|
+
* The extensions a folder input may contain. Exported (§136) because the
|
|
25
|
+
* CLI's native file picker builds its dialog filters from this list: a
|
|
26
|
+
* picker that offers a file `concat` will later refuse is a trap, and the
|
|
27
|
+
* two lists silently diverging is exactly how that ships.
|
|
28
|
+
*/
|
|
29
|
+
export const VIDEO_EXTENSIONS = ["mov", "mp4", "m4v", "mkv", "webm", "avi"] as const;
|
|
24
30
|
const VIDEO_EXTENSION_SET = new Set<string>(VIDEO_EXTENSIONS);
|
|
25
31
|
|
|
26
32
|
function noVideoFilesError(folder: string): Error {
|