feat(subsonic): expose album isCompilation and releaseTypes
This commit is contained in:
No files matched your search
@@ -19,6 +19,7 @@ func NewAlbumByFolder(f *db.Album) *Album {
|
||||
Duration: f.Duration,
|
||||
Created: f.CreatedAt,
|
||||
AverageRating: formatRating(f.AverageRating),
|
||||
ReleaseTypes: []string{},
|
||||
}
|
||||
if f.AlbumStar != nil {
|
||||
a.Starred = &f.AlbumStar.StarDate
|
||||
|
||||
Reference in New Issue
Block a user