diff --git a/src/subsonic.vala b/src/subsonic.vala index 7935068..3209fd7 100644 --- a/src/subsonic.vala +++ b/src/subsonic.vala @@ -64,6 +64,7 @@ public class Subsonic.Song : Object { public int64 duration { get; private set; } public int64 play_count { get; private set; } public string? genre { get; private set; } + public string cover_art { get; private set; } public Song (Json.Reader reader) { reader.read_member ("id"); @@ -101,6 +102,10 @@ public class Subsonic.Song : Object { reader.read_member ("genre"); this.genre = reader.get_string_value (); reader.end_member (); + + reader.read_member ("coverArt"); + this.cover_art = reader.get_string_value (); + reader.end_member (); } }