Added DiscNumber field, used to sort tracks

This commit is contained in:
Deluan
2016-03-03 00:42:42 -05:00
parent 1aeb22dcb7
commit ffd6304a23
6 changed files with 22 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func (c *GetMusicDirectoryController) Get() {
dir.Child[i].Year = mf.Year
dir.Child[i].Artist = mf.Artist
dir.Child[i].Genre = mf.Genre
dir.Child[i].Track = mf.Track
dir.Child[i].Track = mf.TrackNumber
dir.Child[i].Duration = mf.Duration
dir.Child[i].Size = mf.Size
dir.Child[i].Suffix = mf.Suffix