Skip to content

Commit

Permalink
Fixed search by Query provider (#16)
Browse files Browse the repository at this point in the history
All classes now use AudioReference.NO_TRACK instead of "null". However, there was a place where "null" was still expected. Because of this, there was only search by ISRC. The search by "Query" was ignored.
Fixed.
  • Loading branch information
AgutinVBoy authored Oct 12, 2022
1 parent 3b3cb9f commit c7ff1f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void process(LocalAudioTrackExecutor executor) throws Exception {

provider = provider.replace(QUERY_PATTERN, getTrackTitle());
track = loadItem(provider);
if (track != null) {
if (track != AudioReference.NO_TRACK) {
break;
}
}
Expand Down

0 comments on commit c7ff1f6

Please sign in to comment.