You are not logged in.
is there any way that I could configure a key board shortcut to add a selected song to a specific playlist.
let's say I want to add the selected song to a playlist called "melodies" by pressing a key combination like "ctrl+m", atm I have press "a" then scroll thorough the list with keyboard which is annoying (at least for me).
update: key "A" suggested by emeres doesn't work, gives error "MPD: Not found"
Is it possible to configure a key to do this?
edit: changed title from "ncmpcpp add to specific playlist via short key"
Last edited by chittu (2014-03-02 18:52:24)
Offline
Why not load that specific playlist and use "space"? You mean "A", not "a", right? Also ncmpcpp playlists are m3us, so you can edit them easily (wth scripts). I doubt ncmpcpp has this capability (read /usr/share/doc/ncmpcpp/keys and /usr/share/doc/ncmpcpp/config), as last resort however you could user xdotool or any other automation tool and put those repeating keystrokes in there.
Offline
Thanks for "A" seems to be the best option, but it ends on error, when I press "A" it is asking for "Add: " then I type the existing playlist name "melodies" but then it says "MPD: Not found" I don't get why mpd says playlist not found, I tried with different playlist names still I get the same error. any help?
Offline
Can anyone check if the key "A" does work to add music to an existing playlist. Thanks
Offline
You need to save a playlist first (to create it) and the playlist_directory from configuration must exist.
Can anyone check if the key "A" does work to add music to an existing playlist. Thanks
"Space" does that (edit: to current playlist) (by default), like I already wrote. And read those files I listed, variables are self-explanatory.
Last edited by emeres (2014-03-02 12:30:40)
Offline
"A" is not for adding songs to playlists. you want "a".
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
thanks Rasi
so the solution is to use either "a" or load the list with "space" and save it. ![]()
I don't get the use of "A"?
Last edited by chittu (2014-03-02 14:20:56)
Offline
thanks Rasi
so the solution is to use either "a" or load the list with "space" and save it.
I don't get the use of "A"?
A can be used to load e.g. a internet radio by its URL.
all of ncmpcpps keys are explained in the help screen (1 in repository version, F1 in git version)
Last edited by Rasi (2014-03-02 14:39:43)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
all of ncmpcpps keys are explained in the help screen (1 in repository version, F1 in git version)
and there it states:
Keys - Global
A : Add selected items to playlist/m3u
Keys - Playlist
a : Add url/file/directory to playlistCommunity version uses both F1 and 1 keys (or Fn and n in general) to display help screen (different screens). I use "A" for adding selected files, either from browser, search or library, to a specific playlist. I do not want to argue, but am just curious where the misunderstanding lies. ncmpcpp version: 0.5.10
Offline
Keys - Playlist
A : Add item to playlist
Keys - Global
a : Add selected items to playlist
(I don't know how to check ncmpcpp version
)
In my case I can add a radio station (providing a URL) with "A" to the current playlist but I can't add any selected files to a specific playlist. I think ncmpcpp help (f1) must specify whether it is a current playlist or the standard m3u playlist.
Offline
ncmpcpp -v
pacman -Qi ncmpcppI tried changing locale (currently using LC_ALL=en.GB.utf8), used default ncmpcpps configuraion and reinstalled libmpdclient from repository (had git version from AUR) - no change.
Edit: Maybe a previous version installed a different default configuration and that changed now or there is a difference somewhere else. You can mark it as solved.
Last edited by emeres (2014-03-02 17:46:26)
Offline
I think ncmpcpp help (f1) must specify whether it is a current playlist or the standard m3u playlist.
It's a mess. the "current playlist" is called a queue in mpd. (http://www.musicpd.org/doc/user/ch04s03.html)
What's fun about this, is that even the mpd developer himself does not stick with this definition.... he is also the maintainer of ncmpc and mpc and guess how the "queue" in those clients is called... Indeed, playlist.
Last edited by Rasi (2014-03-02 22:30:40)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline