convert flacs to aac for streaming

This commit is contained in:
2026-06-16 12:49:30 +02:00
parent f5e8b87846
commit 7aa1746f97
12 changed files with 401 additions and 8 deletions

View File

@@ -7,6 +7,9 @@ export const createMusicInputSchema = z.object({
fileUrl: z.string(),
fileKey: z.string(),
fileName: z.string(),
streamUrl: z.string().optional().nullable(),
streamKey: z.string().optional().nullable(),
streamName: z.string().optional().nullable(),
})
export const updateMusicInputSchema = z.object({
id: z.string().uuid(),
@@ -15,4 +18,14 @@ export const updateMusicInputSchema = z.object({
fileUrl: z.string().optional(),
fileKey: z.string().optional(),
fileName: z.string().optional(),
streamUrl: z.string().optional().nullable(),
streamKey: z.string().optional().nullable(),
streamName: z.string().optional().nullable(),
})
export const setStreamInputSchema = z.object({
id: z.string().uuid(),
streamUrl: z.string(),
streamKey: z.string(),
streamName: z.string(),
})