fix: inserting videos into songs table regardless of classified label

This commit is contained in:
alikia2x (寒寒) 2025-03-21 21:06:01 +08:00
parent 00b52c01f7
commit 8158ce10c0
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -26,7 +26,7 @@ export const classifyVideoWorker = async (job: Job) => {
await insertVideoLabel(client, aid, label);
const exists = await aidExistsInSongs(client, aid);
if (!exists) {
if (!exists && label !== 0) {
await insertIntoSongs(client, aid);
}