Added Genre and Track Number to getMusicDirectory

This commit is contained in:
Deluan
2016-03-02 22:43:31 -05:00
parent 838d4bf38f
commit 51bae19191
6 changed files with 11 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@ func (c *GetMusicDirectoryController) Get() {
dir.Child[i].Album = al.Name
dir.Child[i].Year = al.Year
dir.Child[i].Artist = a.Name
dir.Child[i].Genre = al.Genre
}
} else {
beego.Info("Artist", id, "not found")