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