From 807cde3a096a6e87d13a98d2ee78578732b1fb45 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 23 Feb 2026 16:02:52 +0100 Subject: fix incorrectly spawning fpcalc processes --- import/src/lib.rs | 2 +- import/src/plugins/acoustid.rs | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/import/src/lib.rs b/import/src/lib.rs index ecb39db..232d9e0 100644 --- a/import/src/lib.rs +++ b/import/src/lib.rs @@ -3,7 +3,7 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2026 metamuffin */ -#![feature(duration_constants)] +#![feature(duration_constants, exit_status_error)] pub mod helpers; pub mod plugins; diff --git a/import/src/plugins/acoustid.rs b/import/src/plugins/acoustid.rs index 411f9d1..e0d1a96 100644 --- a/import/src/plugins/acoustid.rs +++ b/import/src/plugins/acoustid.rs @@ -20,7 +20,6 @@ use reqwest::{ }; use serde::{Deserialize, Serialize}; use std::{ - io::Read, path::Path, process::{Command, Stdio}, sync::Arc, @@ -153,15 +152,10 @@ pub(crate) fn acoustid_fingerprint(cache: &Cache, path: &Path) -> Result