« get me outta code hell

Move options above items in default playlist format - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorliam4 <towerofnix@gmail.com>2017-07-18 17:20:50 -0300
committerliam4 <towerofnix@gmail.com>2017-07-18 17:20:50 -0300
commitf85e99ccfeb5fbd4d5992e1622c25b33cffed287 (patch)
treedd6f744446caf6302f520e8043a4952ca2577f21 /src
parent3f7969bcd75a2cdc4c6b2273fa300eabfc6bd9ad (diff)
Move options above items in default playlist format
Diffstat (limited to 'src')
-rw-r--r--src/playlist-utils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist-utils.js b/src/playlist-utils.js
index f54589e..c1a8193 100644
--- a/src/playlist-utils.js
+++ b/src/playlist-utils.js
@@ -3,8 +3,8 @@
 // TODO: Use this when loading playlists. Also grab things from http-music.js.
 function updatePlaylistFormat(playlist) {
   const defaultPlaylist = {
-    items: [],
-    options: []
+    options: [],
+    items: []
   }
 
   let playlistObj = {}