« get me outta code hell

Add MOD files to crawl-local - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-03-03 08:37:56 -0400
committerFlorrie <towerofnix@gmail.com>2018-03-03 08:37:56 -0400
commitdb9a8b38ed93891e6e77ddf4234600dc57eb2b23 (patch)
tree75c03760c28d5767968825f0b0b2391ee98e3ce0
parent2fe1da71626067b9f477e3ec4b6f11490f7071b1 (diff)
Add MOD files to crawl-local
-rwxr-xr-xsrc/crawl-local.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crawl-local.js b/src/crawl-local.js
index 3134193..bd83552 100755
--- a/src/crawl-local.js
+++ b/src/crawl-local.js
@@ -21,7 +21,8 @@ function crawl(dirPath, extensions = [
   // This list isn't very extensive, and can be customized via the
   // --extensions (or --exts, -e) option.
   'ogg', 'oga',
-  'wav', 'mp3', 'mp4', 'm4a', 'aac'
+  'wav', 'mp3', 'mp4', 'm4a', 'aac',
+  'mod'
 ]) {
   return readDir(dirPath).then(items => {
     items.sort(sortIgnoreCase(naturalSort()))