add ReleaseTypes to the album model

This commit is contained in:
Drew Weymouth
2023-12-16 13:44:16 -08:00
parent becb34cd4a
commit 1521c0c4ba
5 changed files with 94 additions and 13 deletions
@@ -440,6 +440,7 @@ func fillAlbum(a *jellyfin.Album, album *mediaprovider.Album) {
album.TrackCount = a.ChildCount
album.Genres = a.Genres
album.Favorite = a.UserData.IsFavorite
album.ReleaseTypes = mediaprovider.ReleaseTypeAlbum
}
func (j *jellyfinMediaProvider) toPlaylist(p *jellyfin.Playlist) *mediaprovider.Playlist {