mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-19 13:27:42 +03:00
Fixed string decoding during import
This commit is contained in:
parent
e9a46b77ff
commit
7d5cafb17a
@ -7,8 +7,6 @@ import (
|
||||
"strings"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"fmt"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
type ItunesScanner struct{}
|
||||
@ -51,10 +49,6 @@ func (s *ItunesScanner) LoadFolder(path string) []Track {
|
||||
|
||||
func unescape(str string) string {
|
||||
s := strings.Replace(str, "&", "&", -1)
|
||||
s, err := url.QueryUnescape(s)
|
||||
if err != nil {
|
||||
beego.Warn("Error importing string", str, ":", err)
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user