Skip to content

Commit

Permalink
Update MirroringAudioTrack.java (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
karma993892 authored Oct 29, 2022
1 parent 0dba623 commit 12bec7a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,25 +104,25 @@ private AudioItem loadItem(String query) {

@Override
public void trackLoaded(AudioTrack track) {
System.out.println("Track loaded: " + track.getIdentifier());
log.debug("Track loaded: " + track.getIdentifier());
cf.complete(track);
}

@Override
public void playlistLoaded(AudioPlaylist playlist) {
System.out.println("Playlist loaded: " + playlist.getName());
log.debug("Playlist loaded: " + playlist.getName());
cf.complete(playlist);
}

@Override
public void noMatches() {
System.out.println("No matches found for: " + query);
log.debug("No matches found for: " + query);
cf.complete(AudioReference.NO_TRACK);
}

@Override
public void loadFailed(FriendlyException exception) {
System.out.println("Failed to load: " + query);
log.debug("Failed to load: " + query);
cf.completeExceptionally(exception);
}
});
Expand Down

0 comments on commit 12bec7a

Please sign in to comment.