« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xindex.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/index.js b/index.js
index e74f2eb..3cbd81c 100755
--- a/index.js
+++ b/index.js
@@ -58,17 +58,7 @@ async function main() {
   })
 
   let grouplike = {
-    items: [
-      {name: 'bears', downloaderArg: 'http://www.billwurtz.com/bears.mp3'},
-      {name: 'alphabet shuffle', downloaderArg: 'http://www.billwurtz.com/alphabet-shuffle.mp3'},
-      {name: 'in california', downloaderArg: 'http://www.billwurtz.com/in-california.mp3'},
-      {name: 'i love you', downloaderArg: 'http://www.billwurtz.com/i-love-you.mp3'},
-      {name: 'movie star', downloaderArg: 'http://www.billwurtz.com/movie-star.mp3'},
-      {name: 'got to know what\'s going on', downloaderArg: 'http://www.billwurtz.com/got-to-know-whats-going-on.mp3'},
-      {name: 'outside', downloaderArg: 'http://www.billwurtz.com/outside.mp3'},
-      {name: 'La de da de da de da de day oh', downloaderArg: 'http://www.billwurtz.com/la-de-da-de-da-de-da-de-day-oh.mp3'},
-      {name: 'and the day goes on', downloaderArg: 'http://www.billwurtz.com/and-the-day-goes-on.mp3'}
-    ]
+    source: ['crawl-local', process.env.HOME + '/Music']
   }
 
   if (process.argv[2]) {