From c8ad8bd3813264224aee871bf483243059f23fc5 Mon Sep 17 00:00:00 2001 From: absoluteSpacehead Date: Wed, 7 Feb 2024 15:11:12 +0000 Subject: [PATCH 1/2] Add .ogg to formats listed on submission page --- src/routes/TrackSubmission.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/TrackSubmission.tsx b/src/routes/TrackSubmission.tsx index 4c77c77..b72252c 100644 --- a/src/routes/TrackSubmission.tsx +++ b/src/routes/TrackSubmission.tsx @@ -91,7 +91,7 @@ export function TrackSubmission() { You can use the #tools-and-resources channel to find useful resources on how to create MIDIs. - Audio File (.m4a, .mp3, .wav) + Audio File (.m4a, .mp3, .wav, .ogg) This will play in the background of your song. Make sure it was exported from REAPER. From eb6d471b2070d006e1caec926166a0d84e98673c Mon Sep 17 00:00:00 2001 From: absoluteSpacehead Date: Wed, 7 Feb 2024 15:11:24 +0000 Subject: [PATCH 2/2] Cap preview streams to 30 seconds --- Server/Source/Routes/Drafting.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Server/Source/Routes/Drafting.ts b/Server/Source/Routes/Drafting.ts index f7ccb8e..00a3fe4 100644 --- a/Server/Source/Routes/Drafting.ts +++ b/Server/Source/Routes/Drafting.ts @@ -254,6 +254,7 @@ App.post("/upload/audio", "-use_timeline 1", "-f dash", "-ac 2", // downmix + "-t 30" // max of 30 seconds (requested by mc) ]) .output(`${AudioPath}/PreviewChunks/PreviewManifest.mpd`) .on("start", cl => Debug(`Creating preview stream with ${magenta(cl)}`))