mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 02:13:33 +00:00
Implementation of the display of song lyrics where present
This commit is contained in:
parent
12ce97836d
commit
40cbf289af
8 changed files with 148 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue