« get me outta code hell

Fix downloading playlists from a URL crashing - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-07-04 23:44:12 -0300
committerFlorrie <towerofnix@gmail.com>2018-07-04 23:44:15 -0300
commit564998e4a31caac02d020610be3126a6f3b8de7e (patch)
tree955e47a7eee08cb5c3015a68055897823c865493
parentfc4a2d3592c6f3587dd0025e1f53bbb46c6ad82d (diff)
Fix downloading playlists from a URL crashing
-rw-r--r--general-util.js1
-rw-r--r--todo.txt4
2 files changed, 5 insertions, 0 deletions
diff --git a/general-util.js b/general-util.js
index 7156274..0b9f081 100644
--- a/general-util.js
+++ b/general-util.js
@@ -1,5 +1,6 @@
 const { spawn } = require('child_process')
 const { promisify } = require('util')
+const fetch = require('node-fetch')
 const fs = require('fs')
 const npmCommandExists = require('command-exists')
 
diff --git a/todo.txt b/todo.txt
index 41de08a..fc268c8 100644
--- a/todo.txt
+++ b/todo.txt
@@ -65,3 +65,7 @@ TODO: Canceling the "enter a playlist source" dialog also stops the current song
 TODO: Move TabberElement to tui-lib, at some point.
 
 TODO: Make PathElements selectable (again).
+
+TODO: Make the tabber UI show handy information, like what tab you've got
+      selected, how many tabs there are, the usual (same way a browser tabber
+      works).