Cancel stale playback probes and verify Linux QSV support

This commit is contained in:
Technomancer702
2026-10-13 19:02:15 -07:00
parent cca55edc4e
commit 379971022d
22 changed files with 443 additions and 158 deletions

View File

@ -82,7 +82,7 @@ router.get('/hw-info', async (req, res) => {
// If not yet detected, run detection now
if (!capabilities) {
capabilities = await hwDetect.detect();
capabilities = await hwDetect.detect(req.app.locals.ffmpegPath || 'ffmpeg');
}
res.json(capabilities);
@ -99,7 +99,7 @@ router.get('/hw-info', async (req, res) => {
router.post('/hw-info/refresh', async (req, res) => {
try {
const hwDetect = require('../services/hwDetect');
const capabilities = await hwDetect.refresh();
const capabilities = await hwDetect.refresh(req.app.locals.ffmpegPath || 'ffmpeg');
res.json(capabilities);
} catch (err) {
console.error('Error refreshing hardware info:', err);