View previous topic :: View next topic |
Author |
Message |
darklegion Guru
Joined: 14 Nov 2004 Posts: 468
|
Posted: Mon Apr 27, 2009 12:30 am Post subject: |
|
|
srunni wrote: | I can't seem to figure out how to play files outside of the mpd music directory. Could you point me in the right direction? |
You could also have a base music folder and just symlink all of your music to this same folder.You'll have to update the symlinks and the DB, each time you add new music, though. |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Mon Apr 27, 2009 2:19 am Post subject: |
|
|
unK wrote: | you need to connect to mpd via unix socket. to do this you need to change bind_to_adress in mpd.conf e.g to "/tmp/mpd.sock". then you'll be able to enter local browser in ncmpcpp by pressing ` in browser (the correspondent description will also appear in help screen). | Thanks a lot, that worked perfectly!
darklegion wrote: | You could also have a base music folder and just symlink all of your music to this same folder.You'll have to update the symlinks and the DB, each time you add new music, though. | Yeah, I know, this is just a nice option to have _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Tue Apr 28, 2009 8:43 pm Post subject: |
|
|
what do you think about localization of ncmpcpp? _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Wed Apr 29, 2009 11:19 pm Post subject: |
|
|
It's great! The only problem I see is that when I hit the space bar while highlighting a directory in the browse mode for the music database, all the tracks inside that directory are added to the end of the playlist. But if I do the same while browsing a local directory, it doesn't work. _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Wed Apr 29, 2009 11:32 pm Post subject: |
|
|
What ncmpcpp version are you using? Afair 0.3.3 and bigger (git) should give you a warning that adding whole directory from local browser is not supported (probably yet). _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Thu Apr 30, 2009 12:09 am Post subject: |
|
|
unK wrote: | What ncmpcpp version are you using? | 0.2.5 (the current stable version).
Edit: I unmasked media-sound/ncmpcpp-0.3.3, and it's working now.
Edit 2: there are a few other issues I'm having:
- Hidden directories are showing up when browsing the local filesystem
- I can't use ^U to clear the search field
Edit 3: I would greatly appreciate it if you could add support for using ^A to jump to the top of the directory/file listing while in browse mode. _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Wed May 06, 2009 8:21 pm Post subject: |
|
|
Any chance of getting these features? _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Wed May 06, 2009 10:46 pm Post subject: |
|
|
Ah, I didn't see you've edited your post.
Quote: | # I can't use ^U to clear the search field |
Implemented in git. I hope that's what you wanted.
Quote: | I would greatly appreciate it if you could add support for using ^A to jump to the top of the directory/file listing while in browse mode. |
Bind keycode 1 to key_home.
I'll add not displaying hidden files and directories as an option. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Thu May 07, 2009 1:13 am Post subject: |
|
|
unK wrote: | Implemented in git. I hope that's what you wanted. | I'll add the mpd overlay and give it a shot.
Edit: it's working, but I got another idea: is there an option to have the search field cleared each time one hits "/", rather than preserving it between searches?
unK wrote: | Quote: | I would greatly appreciate it if you could add support for using ^A to jump to the top of the directory/file listing while in browse mode. |
Bind keycode 1 to key_home. | I don't understand. Do you mean use xmodmap? Because I've got ncmpcpp running in Screen on a headless server, so it doesn't even have X installed. _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Thu May 07, 2009 9:55 am Post subject: |
|
|
srunni wrote: | unK wrote: | Implemented in git. I hope that's what you wanted. | I'll add the mpd overlay and give it a shot.
Edit: it's working, but I got another idea: is there an option to have the search field cleared each time one hits "/", rather than preserving it between searches? |
no. it was working like that before, but since found positions are discarded each time screen changes, this is an easy way to search again with the same pattern.
Quote: | I don't understand. Do you mean use xmodmap? Because I've got ncmpcpp running in Screen on a headless server, so it doesn't even have X installed. |
in ~/.ncmpcpp.keys. example keybindings file contains line
change it to
_________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
darklegion Guru
Joined: 14 Nov 2004 Posts: 468
|
Posted: Thu May 07, 2009 11:51 am Post subject: |
|
|
srunni wrote: | Edit: it's working, but I got another idea: is there an option to have the search field cleared each time one hits "/", rather than preserving it between searches?
|
Yeah, I don't really like this behaviour either.If it's not too difficult, it would be nice to have this as an option, thanks.
EDIT: Maybe have backspace/delete clear the entire field instantly? This would work keep the new method, but would mean we wouldn't have to hit backspace a heap of times to create a new search.
EDIT2: Does this do what I'm asking?
Quote: |
Quote:
# I can't use ^U to clear the search field
Implemented in git. I hope that's what you wanted.
|
|
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu May 07, 2009 12:30 pm Post subject: |
|
|
darklegion wrote: | EDIT2: Does this do what I'm asking?
Quote: |
Quote:
# I can't use ^U to clear the search field
|
|
It should:) _________________ The End of the Internet! |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Thu May 07, 2009 12:59 pm Post subject: |
|
|
darklegion wrote: | EDIT2: Does this do what I'm asking?
Quote: |
Quote:
# I can't use ^U to clear the search field |
| Yeah, the reason I chose ^U is that it's the standard Unix command for deleting a line of text.
unK wrote: | no. it was working like that before, but since found positions are discarded each time screen changes, this is an easy way to search again with the same pattern. | Perhaps you could have an option to preserve the found position when the screen changes?
Or maybe an option for toggling preserving the search field content if one hits "/" again after a screen change, as well as an option for toggling preserving the search field if one hits "/" again without changing the screen? _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Thu May 07, 2009 1:45 pm Post subject: |
|
|
srunni wrote: | Perhaps you could have an option to preserve the found position when the screen changes?
Or maybe an option for toggling preserving the search field content if one hits "/" again after a screen change, as well as an option for toggling preserving the search field if one hits "/" again without changing the screen? |
Pattern is bound to screen and search results are remembered if you switch to another screen, but they are discarded as soon as content of this screen changes. Researching each time the content changes is overkill to me, so ncmpcpp doesn't do this, but it allows to perform searching again easily just by hitting //? and enter, without re-enter pattern. (I know, search history would do the trick. We'll see). _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Fri May 08, 2009 3:44 pm Post subject: |
|
|
Something else I thought of: when new options are added to the config file (such as for disabling the display of hidden directories/files), if you have a preexisiting config file, that option won't be added to it/the user won't be made aware of it. Is there some way to work around this? What do other applications do? _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Sat May 09, 2009 8:25 pm Post subject: |
|
|
Actually I don't know, you could just diff your config with sample config or read couple of last commits to see if something new was added.
Btw, I implemented input text history in git, testers are more than welcome _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Sun May 10, 2009 9:55 pm Post subject: |
|
|
unK wrote: | I implemented input text history in git, testers are more than welcome | I think I've found a small issue. When I search for an artist, then press Enter to access the list of albums by the artist, then use "[..]" to go back to the artist listing, then hit "/" to search again, then start typing in some text & backspacing it, "Find forward: " and the entered text will disappear.
I believe this problem was present prior to the text history update, though. _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Mon May 11, 2009 12:18 am Post subject: |
|
|
should be fixed in git. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Mon May 11, 2009 2:37 am Post subject: |
|
|
unK wrote: | should be fixed in git. | Yup, it's fixed, thanks a lot!
I've got another feature request: when you've searched in the Browse panel, after a result has been found, could you add the option to find the next instance of that result in the library. You could use "n" to find the next instance and "N" to find the previous instance, and if you were searching backwards (by using "?" instead of "/"), then "n" would find the previous instance and "N" would find the next instance, just like in Vim. _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Tue May 12, 2009 10:20 pm Post subject: |
|
|
No more new features for a while, I want to release 0.3.4 soon.
Also, I don't think I get the idea. Could you explain further? _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Tue May 12, 2009 10:37 pm Post subject: |
|
|
Well, say I want to listen to a song by The Killers. If I search for "kill" in the Browse menu, then I end up at Killswitch Engage. I have to then type "/", "↑", and Enter to search for "kill" again (or "/", "kill", and Enter). What I'm suggesting is that you can instead just type "n" to find the next instance of "kill". Similarly, "N" will find the previous instance, and their roles will reverse when you use "?" instead of "/". Try it out in Vim, the keypresses are the exact same. _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
|
Back to top |
|
|
srunni Guru
Joined: 26 Dec 2007 Posts: 365
|
Posted: Wed May 13, 2009 1:05 pm Post subject: |
|
|
Oh, didn't know about that. They work for me, but:
I went to ~/.ncmpcpp/keys and added Code: | key_next_found_position = 'n' | and Code: | key_prev_found_position = 'N' | but only the latter is functional. Any ideas? _________________
Patrick Ewing wrote: | if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Wed May 13, 2009 1:11 pm Post subject: |
|
|
'n' is bound by default to moving item down. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Tue May 19, 2009 7:01 pm Post subject: |
|
|
ncmpcpp-0.3.4 released.
changes:
- new feature: search in help, lyrics and info screen
- new feature: two columns view in media library
- new feature: input box history
- make displaying hidden files in local browser optional
- bugfixes
enjoy. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
|