diff options
-rwxr-xr-x | src/http-music.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http-music.js b/src/http-music.js index 7686b45..31f0dca 100755 --- a/src/http-music.js +++ b/src/http-music.js @@ -38,7 +38,7 @@ Promise.resolve() try { playlistText = await readFile(file, 'utf-8') } catch(err) { - if (silent) { + if (!silent) { console.error("Failed to read playlist file: " + file) } @@ -246,7 +246,7 @@ Promise.resolve() } } - await openPlaylist('./playlist.json') + await openPlaylist('./playlist.json', true) await processArgv(process.argv, optionFunctions) |