« 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/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/play.js')
-rwxr-xr-xsrc/play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/play.js b/src/play.js
index 7807c93..43576ff 100755
--- a/src/play.js
+++ b/src/play.js
@@ -343,7 +343,7 @@ async function main(args) {
       promise: playPromise,
       playController: play,
       downloadController
-    } = loopPlay(picker, playerCommand, playOpts)
+    } = loopPlay(activePlaylist, picker, playerCommand, playOpts)
 
     // We're looking to gather standard input one keystroke at a time.
     // But that isn't *always* possible, e.g. when piping into the http-music
@@ -413,7 +413,7 @@ async function main(args) {
         // TODO: It would be nice to have this as a method of
         // PlayController.
         // Double TODO: This doesn't actually work!!
-        play.startNextDownload()
+        play.skipUpNext()
       }
 
       if (