Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

info turned into debu for some audio logs

matthew-heartfulcb6a1e3de7c7
diff --git a/screenpipe-audio/src/multilingual.rs b/screenpipe-audio/src/multilingual.rs
index cdd73b211..8d54469fc 100644
--- a/screenpipe-audio/src/multilingual.rs
+++ b/screenpipe-audio/src/multilingual.rs
@@ -135,10 +135,10 @@ pub fn detect_language(
let probs = probs.to_vec1::<f32>()?;
let mut probs = LANGUAGES.iter().zip(probs.iter()).collect::<Vec<_>>();
probs.sort_by(|(_, p1), (_, p2)| p2.total_cmp(p1));
- for ((_, language), p) in probs.iter().take(5) {
- info!("{language}: {p}")
+ for ((_lang_code, _language), _p) in probs.iter().take(5) {
+ // info!("{language}: {p}")
}
let language = super::stt::token_id(tokenizer, &format!("<|{}|>", probs[0].0 .0))?;
info!("detected language: {:?}", probs[0].0);
Ok(language)
-}
+}
\ No newline at end of file
diff --git a/screenpipe-server/src/core.rs b/screenpipe-server/src/core.rs
index 501f7b929..426a51e17 100644
--- a/screenpipe-server/src/core.rs
+++ b/screenpipe-server/src/core.rs
@@ -175,7 +175,7 @@ async fn record_audio(
loop {
// Non-blocking check for new device controls
while let Some((audio_device, device_control)) = audio_devices_control.pop() {
- info!("Received audio device: {}", &audio_device);
+ debug!("Received audio device: {}", &audio_device);
let device_id = audio_device.to_string();
if !device_control.is_running {
@@ -196,7 +196,7 @@ async fn record_audio(
let handle = tokio::spawn(async move {
let audio_device_clone = Arc::clone(&audio_device);
let device_control_clone = Arc::clone(&device_control);
- info!(
+ debug!(
"Starting audio capture thread for device: {}",
&audio_device
);
@@ -204,7 +204,7 @@ async fn record_audio(
let mut iteration = 0;
loop {
iteration += 1;
- info!(
+ debug!(
"Starting iteration {} for device {}",
iteration, audio_device_clone
);
@@ -221,7 +221,7 @@ async fn record_audio(
.to_str()
.expect("Failed to create valid path")
.to_string();
- info!(
+ debug!(
"Starting record_and_transcribe for device {} (iteration {})",
audio_device_clone, iteration
);