diff options
Diffstat (limited to 'src/play.js')
-rwxr-xr-x | src/play.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/play.js b/src/play.js index c754836..ac6a232 100755 --- a/src/play.js +++ b/src/play.js @@ -544,9 +544,14 @@ async function main(args) { await processArgv(args, optionFunctions) if (activePlaylist === null) { - throw new Error( + console.error( "Cannot play - no open playlist. Try --open <playlist file>?" ) + console.error( + "You could also try \x1b[1mhttp-music setup\x1b[0m to easily " + + "create a playlist file!" + ) + return false } if (willPlay || (willPlay === null && shouldPlay)) { |