Expose OpenSubsonic release date for album (#2906)

* [enhancement]: OS expose release date for album, make original optional

* not optional

* remove omitempty
This commit is contained in:
Kendall Garner
2024-04-03 11:30:01 +00:00
committed by GitHub
parent e81bf5125f
commit f12dfb485a
7 changed files with 12 additions and 1 deletions
+1
View File
@@ -321,6 +321,7 @@ func buildAlbumID3(ctx context.Context, album model.Album) responses.AlbumID3 {
dir.IsCompilation = album.Compilation
dir.SortName = album.SortAlbumName
dir.OriginalReleaseDate = toItemDate(album.OriginalDate)
dir.ReleaseDate = toItemDate(album.ReleaseDate)
return dir
}