Generate Order Fields based on sanitized version of original fields

This commit is contained in:
Deluan 2020-04-24 13:27:18 -04:00 committed by Deluan Quintão
parent 69c19e946c
commit 371e8ab6ca
3 changed files with 35 additions and 2 deletions

View file

@ -30,6 +30,7 @@ type MediaFile struct {
SortArtistName string `json:"sortArtistName"`
SortAlbumArtistName string `json:"sortAlbumArtistName"`
OrderAlbumName string `json:"orderAlbumName"`
OrderArtistName string `json:"orderArtistName"`
OrderAlbumArtistName string `json:"orderAlbumArtistName"`
Compilation bool `json:"compilation"`
CreatedAt time.Time `json:"createdAt"`