Implementation of the display of song lyrics where present

This commit is contained in:
CappielloAntonio 2021-12-19 16:48:43 +01:00
parent 12ce97836d
commit 40cbf289af
8 changed files with 148 additions and 14 deletions

View file

@ -1,11 +1,12 @@
package com.cappielloantonio.play.subsonic.models;
import com.tickaroo.tikxml.annotation.Attribute;
import com.tickaroo.tikxml.annotation.TextContent;
import com.tickaroo.tikxml.annotation.Xml;
@Xml
@Xml(name = "lyrics")
public class Lyrics {
@Attribute(name = "value")
@TextContent
protected String content;
@Attribute
protected String artist;

View file

@ -30,6 +30,7 @@ public class SubsonicResponse {
private InternetRadioStations internetRadioStations;
private NewestPodcasts newestPodcasts;
private Podcasts podcasts;
@Element(name = "lyrics")
private Lyrics lyrics;
@Element(name = "songsByGenre")
private Songs songsByGenre;