« get me outta code hell

Ah, progress - 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:
authorFlorrie <towerofnix@gmail.com>2017-08-04 23:40:30 -0300
committerFlorrie <towerofnix@gmail.com>2017-08-04 23:40:30 -0300
commit21848502be0a0e923470f2ce5679fe6759b7b8a1 (patch)
tree091492df1402b86619b6b1aa1f0c22f9f45c3b48 /src/play.js
parenta0c2b302f8a7d2e0aef062fae3ba8badf79c3b9e (diff)
Ah, progress
Diffstat (limited to 'src/play.js')
-rwxr-xr-xsrc/play.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/play.js b/src/play.js
index 35001be..08a33cb 100755
--- a/src/play.js
+++ b/src/play.js
@@ -409,8 +409,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!!
-        downloadController.cancel()
-        play.startNextDownload()
+        play.downloadProcess = play.downlold()
       }
 
       if (