Add fields for video episode details and tags for shows
Updates `client/src/pages/admin.tsx` to include inputs for `filename`, `episodeNumber`, `episodeTitle`, and `tags`. Modifies `server/storage.ts` to include these fields in `MemStorage` and `shared/schema.ts` to add these columns to the `videos` table in PostgreSQL. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/ik6JrhN
This commit is contained in:
@@ -436,6 +436,9 @@ export class MemStorage implements IStorage {
|
||||
description: video.description || "",
|
||||
category: video.category || "",
|
||||
artist: null, // Add artist field
|
||||
filename: null, // Original filename
|
||||
episodeNumber: null, // Episode number for shows
|
||||
episodeTitle: null, // Episode title for shows
|
||||
customThumbnailUrl: null,
|
||||
faceCenterPosition: null,
|
||||
facesDetected: 0,
|
||||
@@ -493,6 +496,9 @@ export class MemStorage implements IStorage {
|
||||
description: video.description || "",
|
||||
category: video.category || "",
|
||||
artist: video.artist || null, // Add artist field
|
||||
filename: video.filename || null,
|
||||
episodeNumber: video.episodeNumber || null,
|
||||
episodeTitle: video.episodeTitle || null,
|
||||
customThumbnailUrl: null,
|
||||
faceCenterPosition: null,
|
||||
facesDetected: 0,
|
||||
|
||||
Reference in New Issue
Block a user