From feee847463777095f4b4fd9b35237341bb25ae6a Mon Sep 17 00:00:00 2001 From: chaos Date: Mon, 30 Oct 2023 22:50:34 +0000 Subject: [PATCH] rename analyze_replaygain to analyze_replaygain_track --- src/commands/process.rs | 4 ++-- src/utils/replaygain/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/process.rs b/src/commands/process.rs index c35d9d9..c6c8fdc 100644 --- a/src/commands/process.rs +++ b/src/commands/process.rs @@ -7,7 +7,7 @@ use crate::types::AudioFileInfo; use crate::types::File; use crate::utils::formats::get_format_handler; #[cfg(feature = "replaygain")] -use crate::utils::replaygain::analyze_replaygain; +use crate::utils::replaygain::analyze_replaygain_track; use crate::utils::scan_for_music; use ascii_reduce::reduce; @@ -153,7 +153,7 @@ pub fn add_replaygain_tags(file: &File, force: bool) -> Result<(), Box Result> { +pub fn analyze_replaygain_track(path: PathBuf) -> Result> { let output = Command::new(crate::meta::FFMPEG) .args([ "-hide_banner",