Browse Source

Show recording meta in UI

master
Jan Svabenik 3 days ago
parent
commit
12b4f0e2bf
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      web/app.js

+ 9
- 0
web/app.js View File

@@ -1215,6 +1215,15 @@ if (recordingList) {
recordingIQLink.href = `/api/recordings/${id}/iq`;
recordingAudioLink.href = `/api/recordings/${id}/audio`;
}
try {
const res = await fetch(`/api/recordings/${id}`);
if (!res.ok) return;
const meta = await res.json();
if (decodeResultEl) {
const rds = meta.rds_ps ? `RDS: ${meta.rds_ps}` : '';
decodeResultEl.textContent = `Decode: ${rds}`;
}
} catch {}
});
}



Loading…
Cancel
Save