diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-19 14:28:50 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-19 14:28:50 +0100 |
| commit | dc4fa1995c9a341fe3027774c52a0760a00c6387 (patch) | |
| tree | 78fddb803f8d368f92a20a6406465d3f94052f9d | |
| parent | b732b3022e931cd49ebee64fa140aeec3ae55cbc (diff) | |
| download | jellything-dc4fa1995c9a341fe3027774c52a0760a00c6387.tar jellything-dc4fa1995c9a341fe3027774c52a0760a00c6387.tar.bz2 jellything-dc4fa1995c9a341fe3027774c52a0760a00c6387.tar.zst | |
skip acoustid for short media
| -rw-r--r-- | import/src/plugins/acoustid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import/src/plugins/acoustid.rs b/import/src/plugins/acoustid.rs index 927fd85..8e502b0 100644 --- a/import/src/plugins/acoustid.rs +++ b/import/src/plugins/acoustid.rs @@ -187,7 +187,7 @@ impl ImportPlugin for AcoustID { let duration = (seg.info.duration.unwrap_or_default() * seg.info.timestamp_scale as f64) / 1_000_000_000.; - if duration > 60. * 10. { + if duration > 600. || duration < 10. { return Ok(()); } |