@@ -35,7 +35,7 @@ func getMusicFolder(musicPaths paths.MusicPaths, p params.Params) string {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
if idx < 0 || idx > len(musicPaths) {
|
if idx < 0 || idx >= len(musicPaths) {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return musicPaths[idx].Path
|
return musicPaths[idx].Path
|
||||||
|
|||||||
Reference in New Issue
Block a user