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:
sebastjanartic
2025-09-02 13:31:12 +00:00
parent e117f3617b
commit f17747a814
3 changed files with 62 additions and 0 deletions
+3
View File
@@ -12,6 +12,9 @@ export const videos = pgTable("videos", {
title: text("title").notNull(),
artist: text("artist"), // Izvajalec/Artist name
description: text("description").default("").notNull(),
filename: text("filename"), // Original file name from Bunny.net
episodeNumber: integer("episode_number"), // For shows like "Folx Stadl"
episodeTitle: text("episode_title"), // Episode title for shows
thumbnailUrl: text("thumbnail_url").notNull(),
customThumbnailUrl: text("custom_thumbnail_url"),
faceCenterPosition: text("face_center_position"), // CSS object-position for face centering