From c6fc8624a77c72a1f1e172575c4316bde72b16f8 Mon Sep 17 00:00:00 2001 From: "Christian F." Date: Sat, 26 Oct 2024 00:54:53 +0200 Subject: [PATCH] - fix --- src/main/java/mediathek/mac/Spotlight.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();