change: test new search algorthm spotify

This commit is contained in:
ZtereoHYPE 2022-01-25 14:08:08 +01:00
parent b6f06e729d
commit 7daf3a5fc0

View file

@ -108,7 +108,7 @@ public class SpotifyApiHelper {
String title = JSON.parse(response.body()).query(titlePath).asString();
String author = JSON.parse(response.body()).query(authorPath).asString();
String songSearchQuery = title + " " + author;
String songSearchQuery = title + " " + author + "official audio";
return Optional.of(songSearchQuery);
} catch (IOException | InterruptedException | JsonSyntaxException e) {