🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Don't expose `fullText` data in the Native API
Deluand8b2f3d2cf80
diff --git a/model/album.go b/model/album.goindex 5e3f1b8b8..05fa8b798 100644--- a/model/album.go+++ b/model/album.go@@ -36,7 +36,7 @@ type Album struct {Genre string `structs:"genre" json:"genre"`Genres Genres `structs:"-" json:"genres"`Discs Discs `structs:"discs" json:"discs,omitempty"`- FullText string `structs:"full_text" json:"fullText"`+ FullText string `structs:"full_text" json:"-"`SortAlbumName string `structs:"sort_album_name" json:"sortAlbumName,omitempty"`SortArtistName string `structs:"sort_artist_name" json:"sortArtistName,omitempty"`SortAlbumArtistName string `structs:"sort_album_artist_name" json:"sortAlbumArtistName,omitempty"`diff --git a/model/artist.go b/model/artist.goindex b20a9f8d2..c10aea648 100644--- a/model/artist.go+++ b/model/artist.go@@ -10,7 +10,7 @@ type Artist struct {AlbumCount int `structs:"album_count" json:"albumCount"`SongCount int `structs:"song_count" json:"songCount"`Genres Genres `structs:"-" json:"genres"`- FullText string `structs:"full_text" json:"fullText"`+ FullText string `structs:"full_text" json:"-"`SortArtistName string `structs:"sort_artist_name" json:"sortArtistName,omitempty"`OrderArtistName string `structs:"order_artist_name" json:"orderArtistName"`Size int64 `structs:"size" json:"size"`diff --git a/model/mediafile.go b/model/mediafile.goindex 7d5a87d62..8a6979534 100644--- a/model/mediafile.go+++ b/model/mediafile.go@@ -48,7 +48,7 @@ type MediaFile struct {Channels int `structs:"channels" json:"channels"`Genre string `structs:"genre" json:"genre"`Genres Genres `structs:"-" json:"genres"`- FullText string `structs:"full_text" json:"fullText"`+ FullText string `structs:"full_text" json:"-"`SortTitle string `structs:"sort_title" json:"sortTitle,omitempty"`SortAlbumName string `structs:"sort_album_name" json:"sortAlbumName,omitempty"`SortArtistName string `structs:"sort_artist_name" json:"sortArtistName,omitempty"`