refactor: remove album.GenreStrings

This commit is contained in:
sentriz
2023-10-25 21:59:56 +01:00
parent d1af62d6cb
commit 46575278ed
2 changed files with 10 additions and 10 deletions

View File

@@ -333,14 +333,6 @@ func (a *Album) IndexRightPath() string {
return a.RightPath
}
func (a *Album) GenreStrings() []string {
strs := make([]string, 0, len(a.Genres))
for _, genre := range a.Genres {
strs = append(strs, genre.Name)
}
return strs
}
func (a *Album) ArtistsStrings() []string {
artists := append([]*Artist(nil), a.Artists...)
sort.Slice(artists, func(i, j int) bool {