Add missing wantedRemux opt
All checks were successful
ci / Image build (push) Successful in 2m18s
ci / Deployment (push) Successful in 24s

This commit is contained in:
Joris Bertomeu
2025-08-25 15:40:00 +02:00
parent 9d023ef255
commit b008ff411d

View File

@@ -94,7 +94,7 @@ app.use((req, res, next) => {
app.post('/start-process', async (req, res, next) => { app.post('/start-process', async (req, res, next) => {
try { try {
const { mp4Filename, mpdUrl, keys, wantedResolution, wantedAudioTracks, wantedSubtitles } = req.body; const { mp4Filename, mpdUrl, keys, wantedResolution, wantedAudioTracks, wantedSubtitles, wantedRemux } = req.body;
console.log(JSON.stringify(req.body, null, 2)); console.log(JSON.stringify(req.body, null, 2));
const job = await videoQueue.add({ const job = await videoQueue.add({
mp4Filename, mp4Filename,
@@ -102,7 +102,8 @@ app.post('/start-process', async (req, res, next) => {
keys, keys,
wantedResolution, wantedResolution,
wantedAudioTracks, wantedAudioTracks,
wantedSubtitles wantedSubtitles,
wantedRemux
}); });
res.json({ jobId: job.id }); res.json({ jobId: job.id });
} catch(e) { } catch(e) {