Fix misleading 'No RTL-SDR devices found' warning in Listening Post

The warning was triggered when ffmpeg was missing, but the message
incorrectly said "No RTL-SDR devices found". Now properly shows
"ffmpeg not found" with installation instructions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-06 21:17:49 +00:00
parent 02cb9c751a
commit b55100d5c3

View File

@@ -8250,8 +8250,8 @@
if (!data.rtl_fm) {
warnings.push('rtl_fm not found - install rtl-sdr tools');
}
if (!data.available) {
warnings.push('No RTL-SDR devices found');
if (!data.ffmpeg) {
warnings.push('ffmpeg not found - install: brew install ffmpeg (macOS) or apt install ffmpeg (Linux)');
}
const warningDiv = document.getElementById('scannerToolsWarning');