1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

Fix AcoustID issue: NoSuchElementException: No Value Present

@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3818
This commit is contained in:
Reinhard Pointner 2016-05-24 23:25:24 +08:00
parent 6180866b89
commit 791fa79658

View File

@ -175,7 +175,7 @@ public class AcoustIDClient implements MusicIdentificationService {
debug.log(Level.WARNING, e.getMessage(), e);
return null;
}
}).filter(Objects::nonNull).sorted(new MostFieldsNotNull()).findFirst().get();
}).filter(Objects::nonNull).sorted(new MostFieldsNotNull()).findFirst().orElse(null);
}
return null;