Explorar el Código

Show recording meta in UI

master
Jan Svabenik hace 3 días
padre
commit
12b4f0e2bf
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. +9
    -0
      web/app.js

+ 9
- 0
web/app.js Ver fichero

@@ -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 {}
});
}



Cargando…
Cancelar
Guardar