Basic scanning working. Time to retrofit some tests....
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user