« get me outta code hell

Hide/fix weird bug with empty downloaderArgs - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/todo.txt
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-06-26 22:11:35 -0300
committerFlorrie <towerofnix@gmail.com>2018-06-26 22:11:47 -0300
commit2d41fd5ce9e2c821ea4da8a6650f445dbf48d641 (patch)
treef48af3fe769b7258b9689d6df913ef2dfa20fa73 /todo.txt
parent992911a021e2f2cccfbc63e554a3f34bd997cd91 (diff)
Hide/fix weird bug with empty downloaderArgs
Diffstat (limited to 'todo.txt')
-rw-r--r--todo.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/todo.txt b/todo.txt
index f5bff02..c1f7b51 100644
--- a/todo.txt
+++ b/todo.txt
@@ -38,4 +38,14 @@ TODO: Pass YouTube playlist or http://.../playlist.json-like URLs to use them
       (Done!)
 
 TODO: There's some weird glitch where, if downloaderArg is missing (=== ""),
-      it'll play.. something by Jake Chudnow??
+      it'll play.. something by Jake Chudnow?? -- Okay, looks like it's using
+      ~/.mtui/downloads/<locallink, etc>/ as the directory for where it would
+      put the download file (because it's .../localink/ + encode(dlArg) and
+      dlArg is empty). The way the cache works is that it checks if there is
+      already a file in that directory, and there IS: a directory for another
+      track download! But the cache doesn't know this; it just thinks that
+      directory is the MP3 file (or whatever). So it returns it. MPV works fine
+      if you pass it a directory that contains music files, so in my case,
+      72_food (by Jake Chudnow) plays. (That's the first thing returned by
+      readdir, I suppose.)
+      (Done!)