Skip to content

🎧 Your Personal Streaming Service

Fixed string decoding during import

Deluan7d5cafb17a9c
diff --git a/scanner/itunes_scanner.go b/scanner/itunes_scanner.go
index 87050a5a7..10ddb0e38 100644
--- a/scanner/itunes_scanner.go
+++ b/scanner/itunes_scanner.go
@@ -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
}