1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Fix sysinfo output

This commit is contained in:
Reinhard Pointner 2019-03-17 16:28:02 +07:00
parent 76cd072fd2
commit f36ba9a44a
2 changed files with 2 additions and 2 deletions

View File

@ -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<String, Object> parse(File file) throws IOException, InterruptedException {

View File

@ -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<ChromaprintField, String> fpcalc(File file) throws IOException, InterruptedException {