fix(subsonic): don't return concatenated genres strings for song/trackchilds
This commit is contained in:
8
db/db.go
8
db/db.go
@@ -264,14 +264,6 @@ func (t *Track) RelPath() string {
|
||||
)
|
||||
}
|
||||
|
||||
func (t *Track) GenreStrings() []string {
|
||||
strs := make([]string, 0, len(t.Genres))
|
||||
for _, genre := range t.Genres {
|
||||
strs = append(strs, genre.Name)
|
||||
}
|
||||
return strs
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID int `gorm:"primary_key"`
|
||||
CreatedAt time.Time
|
||||
|
||||
Reference in New Issue
Block a user