From bbe9afe48fce8fd7c340a55fcf161832f18b4f89 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Thu, 28 Aug 2025 19:02:52 +0000 Subject: [PATCH] Remove category extraction from Bunny.net video metadata Modify `server/bunny.ts` to remove the logic for extracting video category from Bunny.net metadata, defaulting to an empty string. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint --- server/bunny.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/server/bunny.ts b/server/bunny.ts index 7b890ea..a09f8c4 100644 --- a/server/bunny.ts +++ b/server/bunny.ts @@ -95,17 +95,8 @@ export class BunnyService { } } - // Extract category from bunnyVideo.category or metaTags - let category = bunnyVideo.category || ""; - if (!category && bunnyVideo.metaTags && bunnyVideo.metaTags.length > 0) { - const categoryTag = bunnyVideo.metaTags.find((tag: any) => - tag.property?.toLowerCase().includes('category') || - tag.property?.toLowerCase().includes('genre') - ); - if (categoryTag) { - category = categoryTag.value; - } - } + // No category from Bunny.net - keeping category empty + const category = ""; // No tags from Bunny.net - keeping tags empty const tags: string[] = [];