set the size of indexes

This commit is contained in:
sentriz
2019-07-02 21:19:25 +01:00
parent e517c7538c
commit 3d68e15241
3 changed files with 19 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ import (
"github.com/sentriz/gonic/server/subsonic"
)
func indexOf(in string) string {
func lowerUDecOrHash(in string) string {
lower := unicode.ToLower(rune(in[0]))
if !unicode.IsLetter(lower) {
return "#"