ncmpc
ncmpc copied to clipboard
[Feature request] Keybindings: add possibility to duplicate selected track and append after currently playing track
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:
- A from browser and search screens could append right after the currently playing song
- 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).
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.
Assuming the "Ga" trick works well enough, I'm closing this feature request.
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?