« get me outta code hell

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:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/http-music.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http-music.js b/src/http-music.js
index 6abda75..48aff95 100755
--- a/src/http-music.js
+++ b/src/http-music.js
@@ -22,8 +22,6 @@ Promise.resolve()
     let sourcePlaylist = null
     let activePlaylist = null
 
-    await openPlaylist('./playlist.json')
-
     let pickerType = 'shuffle'
     let downloaderType = 'http'
     let playOpts = []
@@ -248,6 +246,8 @@ Promise.resolve()
       }
     }
 
+    await openPlaylist('./playlist.json')
+
     await processArgv(process.argv, optionFunctions)
 
     if (activePlaylist === null) {