Basic scanning working. Time to retrofit some tests....

This commit is contained in:
Deluan
2016-02-28 15:46:53 -05:00
parent 14e52576a7
commit 515279606a
6 changed files with 85 additions and 22 deletions
-10
View File
@@ -14,14 +14,4 @@ type MediaFile struct {
Compilation bool
CreatedAt time.Time
UpdatedAt time.Time
}
func (m*MediaFile) RealArtist() string {
if (m.Compilation) {
return "Various Artists"
}
if (m.AlbumArtist != "") {
return m.AlbumArtist
}
return m.Artist
}