Send "now playing" scrobbles to server.

This commit is contained in:
caiocotts 2024-01-22 21:41:54 -05:00
parent 293b0f71c8
commit d8c8a783de
5 changed files with 11 additions and 9 deletions

View file

@ -104,10 +104,10 @@ public class SongRepository {
return randomSongsSample;
}
public void scrobble(String id) {
public void scrobble(String id, Boolean submission) {
App.getSubsonicClientInstance(false)
.getMediaAnnotationClient()
.scrobble(id)
.scrobble(id, submission)
.enqueue(new Callback<ApiResponse>() {
@Override
public void onResponse(@NonNull Call<ApiResponse> call, @NonNull Response<ApiResponse> response) {