rename analyze_replaygain to analyze_replaygain_track
This commit is contained in:
parent
12b0b687ae
commit
feee847463
|
@ -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<dyn std::
|
|||
file.join_path_from_source()
|
||||
);
|
||||
|
||||
let replaygain_data = analyze_replaygain(file.join_path_to())?;
|
||||
let replaygain_data = analyze_replaygain_track(file.join_path_to())?;
|
||||
|
||||
let mut handler = get_format_handler(file)?;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ use string_error::static_err;
|
|||
|
||||
use crate::types::ReplayGainRawData;
|
||||
|
||||
pub fn analyze_replaygain(path: PathBuf) -> Result<ReplayGainRawData, Box<dyn std::error::Error>> {
|
||||
pub fn analyze_replaygain_track(path: PathBuf) -> Result<ReplayGainRawData, Box<dyn std::error::Error>> {
|
||||
let output = Command::new(crate::meta::FFMPEG)
|
||||
.args([
|
||||
"-hide_banner",
|
||||
|
|
Loading…
Reference in a new issue