« get me outta code hell

Make default playlist crawl ~/Music - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-06-12 23:05:12 -0300
committerFlorrie <towerofnix@gmail.com>2018-06-12 23:05:12 -0300
commit89daefe2d3176f202004b8b1fc78188a6b755761 (patch)
treefbbcbe88d07e40b8fc7dd628c5208dbe822ef6e6 /index.js
parentc3628a57bc43492e32b9251750865e41d68efea0 (diff)
Make default playlist crawl ~/Music
Diffstat (limited to 'index.js')
-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]) {