Remove Bunny.net tags extraction from video metadata

Modify server/bunny.ts to remove logic for extracting tags from Bunny.net metaTags, as they are not present or relevant for the platform's tagging system.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5
Replit-Commit-Checkpoint-Type: full_checkpoint
This commit is contained in:
sebastjanartic 2025-08-28 19:01:13 +00:00
parent 91e349dead
commit 51d67a88ff

View File

@ -107,18 +107,8 @@ export class BunnyService {
}
}
// Extract tags from metaTags
// No tags from Bunny.net - keeping tags empty
const tags: string[] = [];
if (bunnyVideo.metaTags && bunnyVideo.metaTags.length > 0) {
bunnyVideo.metaTags.forEach((tag: any) => {
if (tag.property?.toLowerCase().includes('tag') ||
tag.property?.toLowerCase().includes('keyword')) {
// Split comma-separated tags and clean them up
const tagValues = tag.value.split(',').map((t: string) => t.trim()).filter(Boolean);
tags.push(...tagValues);
}
});
}
return {
id: bunnyVideo.guid,