Added Starred for Album and MediaFile

This commit is contained in:
Deluan
2016-03-03 01:07:13 -05:00
parent 393b7f5b90
commit f01a5f143d
7 changed files with 11 additions and 3 deletions
+2
View File
@@ -71,6 +71,7 @@ func parseTrack(t *Track) (*domain.MediaFile, *domain.Album, *domain.Artist) {
AlbumArtist: t.AlbumArtist,
Title: t.Title,
Compilation: t.Compilation,
Starred: t.Loved,
Path: t.Path,
CreatedAt: t.CreatedAt,
UpdatedAt: t.UpdatedAt,
@@ -88,6 +89,7 @@ func parseTrack(t *Track) (*domain.MediaFile, *domain.Album, *domain.Artist) {
Name: t.Album,
Year: t.Year,
Compilation: t.Compilation,
Starred: t.Loved,
Genre: t.Genre,
Artist: t.Artist,
AlbumArtist: t.AlbumArtist,