|
@@ -10,7 +10,6 @@ import (
|
10
|
10
|
"io"
|
11
|
11
|
"log"
|
12
|
12
|
"os"
|
13
|
|
- "reflect"
|
14
|
13
|
"regexp"
|
15
|
14
|
"strconv"
|
16
|
15
|
"strings"
|
|
@@ -341,7 +340,7 @@ func (app *App) AutomateSection(title string) error {
|
341
|
340
|
log.Println("Failed to find tracks from DB", err)
|
342
|
341
|
}
|
343
|
342
|
log.Println("Checking if playlist needs updating", currentTracks, tracks, err)
|
344
|
|
- if len(tracks) > 0 && (err != nil || !tracksEqual(currentTracks, tracks)) {
|
|
343
|
+ if len(tracks) > 0 && (err != nil || !tracksEqual(tracks, currentTracks)) {
|
345
|
344
|
|
346
|
345
|
if playlistID == "" {
|
347
|
346
|
log.Println("Creating new playlist")
|