From ea62f8747d835a27b36f5a19de0ebcf6fce908cd Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 10 Oct 2021 13:58:44 -0300 Subject: only load ~/Music if no other sources provided --- client.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'client.js') 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 -- cgit 1.3.0-6-gf8a5