mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 14:55:37 +00:00
10 lines
312 B
TypeScript
10 lines
312 B
TypeScript
import path from "node:path";
|
|
|
|
/** Sources generated by Videos imports have independent, lossless audio companions. */
|
|
export function isLibrarySequenceSource(file: string): boolean {
|
|
return (
|
|
path.basename(path.dirname(file)) === ".recordly-media" &&
|
|
/^[0-9a-f-]{36}\.mp4$/.test(path.basename(file))
|
|
);
|
|
}
|