diff --git a/server/bunny.ts b/server/bunny.ts index 7161539..3467ca3 100644 --- a/server/bunny.ts +++ b/server/bunny.ts @@ -103,15 +103,24 @@ export class BunnyService { return { id: bunnyVideo.guid, title: bunnyVideo.title || 'Untitled Video', + artist: null, // No artist data from Bunny.net description: description, + filename: null, // No filename data from Bunny.net + episodeNumber: null, // No episode number from Bunny.net + episodeTitle: null, // No episode title from Bunny.net thumbnailUrl, customThumbnailUrl: null, + faceCenterPosition: null, + facesDetected: null, + faceConfidence: null, videoUrl: hlsUrl, // Signed HLS URL videoUrlMp4: hlsUrl, // Use signed HLS URL for preview as well videoUrlIframe: iframeUrl, // iframe fallback duration: Math.floor(bunnyVideo.length || 0), views: bunnyVideo.views || 0, category: category, + contentType: "video" as const, // Default content type + genre: "other" as const, // Default genre tags: tags, isPublic: true, uploadStatus: "completed", @@ -121,9 +130,6 @@ export class BunnyService { resolution: null, format: null, encoding: null, - faceCenterPosition: null, - facesDetected: null, - faceConfidence: null, createdAt: new Date(bunnyVideo.dateUploaded), updatedAt: new Date(bunnyVideo.dateUploaded) };