diff options
Diffstat (limited to 'src/play.js')
-rwxr-xr-x | src/play.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/play.js b/src/play.js index 680e326..1416420 100755 --- a/src/play.js +++ b/src/play.js @@ -393,12 +393,14 @@ async function main(args) { if (Buffer.from([0x7f]).equals(data)) { clearConsoleLine() - console.log( - "Skipping the track that's up next. " + - "(Press I for track info!)" - ) + console.log("Skipping the track that's up next.") - playController.skipUpNext() + playController.skipUpNext().then(nextTrack => { + console.log( + `New track up next: ${nextTrack.name || '(Unnamed)'}` + + " (Press I for track info!)" + ) + }) } if (equalsChar('i') || equalsChar('t')) { |