VideoChain-API / src /scheduler /getPendingVideos.mts
jbilcke-hf's picture
jbilcke-hf HF staff
add "movie director assistant" LLM step
e4e0e54
raw
history blame
362 Bytes
import { Video } from "../types.mts"
import { pendingMetadataDirFilePath } from "../config.mts"
import { readVideoMetadataFiles } from "./readVideoMetadataFiles.mts"
export const getPendingVideos = async (ownerId?: string): Promise<Video[]> => {
const pendingVideos = await readVideoMetadataFiles(pendingMetadataDirFilePath, ownerId)
return pendingVideos
}