Import comments and lyrics

This commit is contained in:
Deluan
2020-11-11 10:43:17 -05:00
parent aee4eb71c4
commit 98af68ac99
7 changed files with 64 additions and 1 deletions
+2
View File
@@ -59,6 +59,8 @@ func (s *mediaFileMapper) toMediaFile(md metadata.Metadata) model.MediaFile {
mf.MbzAlbumArtistID = md.MbzAlbumArtistID()
mf.MbzAlbumType = md.MbzAlbumType()
mf.MbzAlbumComment = md.MbzAlbumComment()
mf.Comment = md.Comment()
mf.Lyrics = md.Lyrics()
// TODO Get Creation time. https://github.com/djherbis/times ?
mf.CreatedAt = md.ModificationTime()