Assume first .jpg is the contactsheet

This commit is contained in:
0xb00bface 2021-04-10 17:36:27 +02:00
parent 4f8ffe0736
commit 5293affe4d
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public class Recording implements Serializable, Callable<Recording> {
public Optional<File> getContactSheet() {
return getAssociatedFiles().stream()
.filter(filePath -> filePath.endsWith("contactsheet.jpg"))
.filter(filePath -> filePath.endsWith(".jpg"))
.findFirst()
.map(File::new);
}