release 0.8.0 #12

Merged
Seil0 merged 92 commits from dev into master 2019-07-04 12:41:05 +02:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 48b9c99baa - Show all commits

View File

@ -65,6 +65,7 @@ public class OMDbAPIController implements Runnable {
@Override
public void run() {
LOGGER.info("Querying omdbAPI ...");
JsonObject object;
object = getByTitle(mainWindowController.getCurrentTitle());
if (object == null) return;
@ -179,6 +180,7 @@ public class OMDbAPIController implements Runnable {
if (searchObject.getString("Response", "").equals("True")) {
for (JsonValue movie : searchObject.get("Search").asArray()) {
// get first entry from the array and set object = movie
// TODO if the search was successful, we should add the wrong and correct title to a list, for later speedup
return movie.asObject().getString("Title", "");
}
} else {