diff --git a/media/library.go b/media/library.go index b255322..0a0b522 100644 --- a/media/library.go +++ b/media/library.go @@ -116,5 +116,6 @@ func (lib *Library) Playlist() Playlist { pl[i] = v i++ } + By(SortByTimestamp).Sort(pl) return pl }