mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
fix: Read the correct lyrics
This commit is contained in:
parent
70d58a9232
commit
684fd00ed2
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue