« get me outta code hell

only load ~/Music if no other sources provided - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/client.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2021-10-10 13:58:44 -0300
committer(quasar) nebula <qznebula@protonmail.com>2021-10-10 13:58:44 -0300
commitea62f8747d835a27b36f5a19de0ebcf6fce908cd (patch)
tree2e4016fa3f3390ceded7ffae89a832874c374d37 /client.js
parentfc1da6ee8ea604f1f6fcf2d0c82775fc7eeb8e32 (diff)
only load ~/Music if no other sources provided
Diffstat (limited to 'client.js')
-rw-r--r--client.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/client.js b/client.js
index aa854ed..ec1ab60 100644
--- a/client.js
+++ b/client.js
@@ -4,7 +4,6 @@
 
 const AppElement = require('./ui')
 const processSmartPlaylist = require('./smart-playlist')
-const os = require('os')
 
 const {
   ui: {
@@ -63,15 +62,6 @@ const setupClient = async ({backend, writable, interfacer, appConfig}) => {
     cleanTerminal()
   })
 
-  let grouplike = {
-    name: 'My ~/Music Library',
-    comment: (
-      '(Add tracks and folders to ~/Music to make them show up here,' +
-      ' or pass mtui your own playlist.json file!)'),
-    source: ['crawl-local', os.homedir() + '/Music']
-  }
-  await appElement.loadPlaylistOrSource(grouplike, true)
-
   root.select(appElement)
 
   // Load up initial state