diff options
-rw-r--r-- | client.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client.js b/client.js index 50e4a7a..0f7dde3 100644 --- a/client.js +++ b/client.js @@ -4,6 +4,7 @@ const AppElement = require('./ui') const processSmartPlaylist = require('./smart-playlist') +const os = require('os') const { ui: { @@ -68,7 +69,7 @@ const setupClient = async ({backend, writable, interfacer, appConfig}) => { comment: ( '(Add songs and folders to ~/Music to make them show up here,' + ' or pass mtui your own playlist.json file!)'), - source: ['crawl-local', process.env.HOME + '/Music'] + source: ['crawl-local', os.homedir() + '/Music'] } grouplike = await processSmartPlaylist(grouplike) appElement.tabber.currentElement.loadGrouplike(grouplike) |