diff --git a/source/net/filebot/media/FFProbe.java b/source/net/filebot/media/FFProbe.java index 7fed5be9..af2d4c7c 100644 --- a/source/net/filebot/media/FFProbe.java +++ b/source/net/filebot/media/FFProbe.java @@ -25,7 +25,7 @@ public class FFProbe implements MediaCharacteristics { } public String version() throws IOException { - return execute(getFFProbeCommand(), "-show_program_version", "-hide_banner").toString(); + return execute(getFFProbeCommand(), "-show_program_version", "-hide_banner").toString().trim(); } protected Map parse(File file) throws IOException, InterruptedException { diff --git a/source/net/filebot/web/AcoustIDClient.java b/source/net/filebot/web/AcoustIDClient.java index a041d9d0..b8bc7ad2 100644 --- a/source/net/filebot/web/AcoustIDClient.java +++ b/source/net/filebot/web/AcoustIDClient.java @@ -193,7 +193,7 @@ public class AcoustIDClient implements MusicIdentificationService { } public String version() throws IOException { - return execute(getChromaprintCommand(), "-version").toString(); + return execute(getChromaprintCommand(), "-version").toString().trim(); } public Map fpcalc(File file) throws IOException, InterruptedException {