ncmpc icon indicating copy to clipboard operation
ncmpc copied to clipboard

[Feature request] Keybindings: add possibility to duplicate selected track and append after currently playing track

Open hiqua opened this issue 5 years ago • 3 comments

Currently, there's no good way to quickly say: "play this song three times". You can either toggle repeat and single modes and deactivate them later, or go back to the Browse screen to append the song again, and put it after the currently playing row. This is a hassle if the song is in the middle of the playlist. It would be nice to be able to duplicate the currently playing song.

Relatedly, it would be nice to be able to append a song right after the currently song, and leave the rest of the playlist untouched.

From a cursory look, possible default keybindings could be D and A (or disabled).

Summary:

  1. A from browser and search screens could append right after the currently playing song
  2. D from the queue screen could duplicate the currently selected track

If you think these would be nice to have but are not willing to implement them, I can try to come up with a PR (eventually).

hiqua avatar Jun 03 '20 10:06 hiqua

Right now, you can press G and then a to duplicate the current song. (G locates the current song in the file browser, and a adds another instance). The difference is that it gets added to the end of the queue, and a advances the cursor to the next song. And works only for songs from the database.

MaxKellermann avatar Jun 03 '20 11:06 MaxKellermann

Assuming the "Ga" trick works well enough, I'm closing this feature request.

MaxKellermann avatar Jun 19 '20 13:06 MaxKellermann

It's fine, but that only covers the duplicate part, not the insert right after the currently playing track. This command already exists in mpc: mpc insert $TRACK. Any chance to have something similar in ncmpc?

hiqua avatar Jun 21 '20 08:06 hiqua