Skip to content

Commit

Permalink
- fix
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Oct 25, 2024
1 parent 4fe0ea8 commit c6fc862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mediathek/mac/Spotlight.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private static List<File> doSearch(String[] command) throws IOException {
* @return a Map containing all metadata for the file
*/
public static Map<String, String> 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<String, String> results = new HashMap<>();
try (var is = process.getInputStream();
Expand Down

0 comments on commit c6fc862

Please sign in to comment.