diff --git a/src/main/java/com/goxr3plus/xr3player/xplayer/waveform/WaveFormService.java b/src/main/java/com/goxr3plus/xr3player/xplayer/waveform/WaveFormService.java index 042ecc05..8bc06c67 100644 --- a/src/main/java/com/goxr3plus/xr3player/xplayer/waveform/WaveFormService.java +++ b/src/main/java/com/goxr3plus/xr3player/xplayer/waveform/WaveFormService.java @@ -76,7 +76,7 @@ public WaveFormService(XPlayerController xPlayerController) { */ public void startService(String fileAbsolutePath , WaveFormJob waveFormJob) { - if (this.fileAbsolutePath != null && fileAbsolutePath.equals(this.fileAbsolutePath)) //If it is the same file + if (waveFormJob == WaveFormJob.AMPLITUDES_AND_WAVEFORM && this.fileAbsolutePath != null && fileAbsolutePath.equals(this.fileAbsolutePath)) //If it is the same file return; //Check