From 56e9ad3def369b1085013ec7078fabfec2ee0df9 Mon Sep 17 00:00:00 2001
From: Deluan <github@deluan.com>
Date: Mon, 7 Mar 2016 09:24:35 -0500
Subject: [PATCH] Silly bug... Where are the tests?!?

---
 scanner/itunes_scanner.go | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/scanner/itunes_scanner.go b/scanner/itunes_scanner.go
index 2da9c87af..6f2de7bbc 100644
--- a/scanner/itunes_scanner.go
+++ b/scanner/itunes_scanner.go
@@ -43,8 +43,6 @@ func (s *ItunesScanner) ScanLibrary(lastModifiedSince time.Time, path string) (i
 			ar := s.collectArtists(&t)
 			mf := s.collectMediaFiles(&t)
 			s.collectAlbums(&t, mf, ar)
-		} else {
-			beego.Trace("Skipped", t.Location, " - kind:", t.Kind)
 		}
 		i++
 		if i%1000 == 0 {
@@ -94,13 +92,13 @@ func (s *ItunesScanner) collectMediaFiles(t *itl.Track) *domain.MediaFile {
 	mf.Path = path
 	mf.Suffix = strings.TrimPrefix(filepath.Ext(path), ".")
 
+	mf.CreatedAt = t.DateAdded
+	mf.UpdatedAt = t.DateModified
+
 	if mf.UpdatedAt.After(s.lastModifiedSince) {
 		mf.HasCoverArt = hasCoverArt(path)
 	}
 
-	mf.CreatedAt = t.DateAdded
-	mf.UpdatedAt = t.DateModified
-
 	s.mediaFiles[mf.Id] = mf
 
 	return mf