mirror of
https://github.com/smittix/intercept.git
synced 2026-05-01 10:09:59 -07:00
Forward rtl_fm stderr to Morse frontend diagnostic log
rtl_fm prints device info, tuning, and errors to stderr but the morse route only logged these server-side. Now stderr lines are forwarded to the morse queue as info events, displayed in a compact diagnostic log below the scope canvas. After 10s with no audio data, the scope text escalates to prompt the user to check the SDR log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3085,6 +3085,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="morseDiagLog" style="display: none; margin-bottom: 8px; max-height: 60px; overflow-y: auto;
|
||||
background: #080812; border: 1px solid #1a1a2e; border-radius: 4px; padding: 4px 8px;
|
||||
font-family: var(--font-mono); font-size: 10px; color: #556677; line-height: 1.6;">
|
||||
</div>
|
||||
|
||||
<!-- Morse Decoded Output -->
|
||||
<div id="morseOutputPanel" style="display: none; margin-bottom: 12px;">
|
||||
<div style="background: #0a0a0a; border: 1px solid #1a2e1a; border-radius: 6px; padding: 8px 10px;">
|
||||
@@ -4172,6 +4177,8 @@
|
||||
const morseOutputPanel = document.getElementById('morseOutputPanel');
|
||||
if (morseScopePanel && mode !== 'morse') morseScopePanel.style.display = 'none';
|
||||
if (morseOutputPanel && mode !== 'morse') morseOutputPanel.style.display = 'none';
|
||||
const morseDiagLog = document.getElementById('morseDiagLog');
|
||||
if (morseDiagLog && mode !== 'morse') morseDiagLog.style.display = 'none';
|
||||
|
||||
// Update output panel title based on mode
|
||||
const outputTitle = document.getElementById('outputTitle');
|
||||
|
||||
Reference in New Issue
Block a user