Assume first .jpg is the contactsheet
This commit is contained in:
parent
4f8ffe0736
commit
5293affe4d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue