removing metadata checking from live, takes WAY too long

This commit is contained in:
localhost 2023-09-16 11:02:29 +02:00
parent e66f2c5c2d
commit 7bdd866370
1 changed files with 1 additions and 3 deletions

View File

@ -67,11 +67,9 @@ exports.getChannel = async (req, res) => {
const index = allVideos.findIndex(o => o.id == v.id) const index = allVideos.findIndex(o => o.id == v.id)
allVideos[index] = v allVideos[index] = v
} else { } else {
const live = await metadata.getVideoMetadata(v.id)
allVideos.push({ allVideos.push({
...v, ...v,
deleted: live.error ? true : false deleted: undefined
}) })
} }
})) }))