Sort playlist by Timestamp by default

This commit is contained in:
James Mills 2020-03-25 16:26:30 +10:00
parent 9fa3427308
commit dd97030bd1
No known key found for this signature in database
GPG key ID: AC4C014F1440EBD6

View file

@ -116,5 +116,6 @@ func (lib *Library) Playlist() Playlist {
pl[i] = v pl[i] = v
i++ i++
} }
By(SortByTimestamp).Sort(pl)
return pl return pl
} }