mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-31 22:53:37 +00:00
fix: Read the correct lyrics
This commit is contained in:
@@ -256,7 +256,7 @@ public class SongRepository {
|
||||
@Override
|
||||
public void onResponse(@NonNull Call<ApiResponse> call, @NonNull Response<ApiResponse> response) {
|
||||
if (response.isSuccessful() && response.body() != null && response.body().getSubsonicResponse().getLyrics() != null) {
|
||||
lyrics.setValue(response.body().getSubsonicResponse().getLyrics().getContent());
|
||||
lyrics.setValue(response.body().getSubsonicResponse().getLyrics().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.cappielloantonio.play.subsonic.models
|
||||
|
||||
class Lyrics {
|
||||
var content: String? = null
|
||||
var value: String? = null
|
||||
var artist: String? = null
|
||||
var title: String? = null
|
||||
}
|
||||
Reference in New Issue
Block a user