diff --git a/src/main/java/mediathek/mac/Spotlight.java b/src/main/java/mediathek/mac/Spotlight.java index b0de4f5681..21578607b7 100644 --- a/src/main/java/mediathek/mac/Spotlight.java +++ b/src/main/java/mediathek/mac/Spotlight.java @@ -66,7 +66,7 @@ private static List doSearch(String[] command) throws IOException { * @return a Map containing all metadata for the file */ public static Map getMetadata(File file) throws IOException { - var process = Runtime.getRuntime().exec(new String[]{"mdls", file.getAbsolutePath()}); + var process = Runtime.getRuntime().exec(new String[]{"/usr/bin/mdls", file.getAbsolutePath()}); HashMap results = new HashMap<>(); try (var is = process.getInputStream();