refactor: new transcoding engine. third (fourth?) time is a charm!

This commit is contained in:
Deluan
2020-02-24 13:31:05 -05:00
parent d2eea64528
commit f394de664a
14 changed files with 201 additions and 158 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ func FromMediaFile(mf *model.MediaFile) Entry {
e.Created = mf.CreatedAt
e.AlbumId = mf.AlbumID
e.ArtistId = mf.ArtistID
e.Type = "music" // TODO Hardcoded for now
e.Type = "music"
e.PlayCount = int32(mf.PlayCount)
e.Starred = mf.StarredAt
e.UserRating = mf.Rating