Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hiqua opened this issue Jun 3, 2020 · 3 comments

Comments

@hiqua
Copy link

hiqua commented Jun 3, 2020

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 hiqua changed the title [Feature request] Keybindings: add possibility to duplicate selected track [Feature request] Keybindings: add possibility to duplicate selected track and append after currently playing track Jun 3, 2020
@MaxKellermann
Copy link
Member

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
Copy link
Member

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

@hiqua
Copy link
Author

hiqua commented Jun 21, 2020

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?

@MaxKellermann MaxKellermann reopened this Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants