From dd97030bd1182f8e0da88b46505973f19e9f19ae Mon Sep 17 00:00:00 2001 From: James Mills Date: Wed, 25 Mar 2020 16:26:30 +1000 Subject: [PATCH] Sort playlist by Timestamp by default --- media/library.go | 1 + 1 file changed, 1 insertion(+) 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 }