Update video editing options and improve app stability
Update the `admin.tsx` file to include `episodeNumber` in the `EditVideoDialog` component and modify the genre select options. Also, remove deprecated integrations from the `.replit` file. Replit-Commit-Author: Agent Replit-Commit-Session-Id: b8acb3b1-9903-4862-bc2d-326c35e48b18 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/b8acb3b1-9903-4862-bc2d-326c35e48b18/2cCVHe3
This commit is contained in:
parent
ec2034f097
commit
c1289e38bf
1
.replit
1
.replit
@ -40,4 +40,3 @@ args = "npm run dev"
|
||||
waitForPort = 5000
|
||||
|
||||
[agent]
|
||||
integrations = ["javascript_database==1.0.0", "javascript_openai==1.0.0"]
|
||||
|
||||
@ -224,6 +224,7 @@ function EditVideoDialog({
|
||||
artist: video.artist || "",
|
||||
description: video.description,
|
||||
filename: video.filename || "",
|
||||
episodeNumber: video.episodeNumber || "",
|
||||
episodeTitle: video.episodeTitle || "",
|
||||
tags: video.tags || [],
|
||||
contentType: video.contentType,
|
||||
@ -372,20 +373,20 @@ function EditVideoDialog({
|
||||
<Label className="text-white/90 text-sm">Genre</Label>
|
||||
<Select
|
||||
value={formData.genre}
|
||||
onValueChange={(value) => setFormData({ ...formData, genre: value })}
|
||||
onValueChange={(value) => setFormData({ ...formData, genre: value as any })}
|
||||
>
|
||||
<SelectTrigger className="bg-white/10 border-white/20 text-white h-9">
|
||||
<SelectValue />
|
||||
</SelectTrigger>
|
||||
<SelectContent className="bg-[#2D1B69] border-white/20">
|
||||
<SelectItem value="volksmusik">Folk Music</SelectItem>
|
||||
<SelectItem value="traditional">Traditional Alpine</SelectItem>
|
||||
<SelectItem value="polka">Polka</SelectItem>
|
||||
<SelectItem value="waltz">Waltz</SelectItem>
|
||||
<SelectItem value="schlager">Schlager</SelectItem>
|
||||
<SelectItem value="interview">Interview</SelectItem>
|
||||
<SelectItem value="talk_show">Talk Show</SelectItem>
|
||||
<SelectItem value="folk_show">Folk Show</SelectItem>
|
||||
<SelectItem value="pop">Pop</SelectItem>
|
||||
<SelectItem value="rock">Rock</SelectItem>
|
||||
<SelectItem value="country">Country</SelectItem>
|
||||
<SelectItem value="instrumental">Instrumental</SelectItem>
|
||||
<SelectItem value="dance">Dance</SelectItem>
|
||||
<SelectItem value="other">Other</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user