Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ncmpcpp - improved ncmpc with some new features
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6 ... 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Mon Apr 27, 2009 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Mon Apr 27, 2009 2:19 am    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Tue Apr 28, 2009 8:43 pm    Post subject: Reply with quote

what do you think about localization of ncmpcpp?
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Wed Apr 29, 2009 11:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed Apr 29, 2009 11:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Thu Apr 30, 2009 12:09 am    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Wed May 06, 2009 8:21 pm    Post subject: Reply with quote

Any chance of getting these features? :D
_________________
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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed May 06, 2009 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Thu May 07, 2009 1:13 am    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu May 07, 2009 9:55 am    Post subject: Reply with quote

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
Code:
#key_home = 262

change it to
Code:
key_home = 262 1

_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Thu May 07, 2009 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu May 07, 2009 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Thu May 07, 2009 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu May 07, 2009 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Fri May 08, 2009 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sat May 09, 2009 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Sun May 10, 2009 9:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Mon May 11, 2009 12:18 am    Post subject: Reply with quote

should be fixed in git.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Mon May 11, 2009 2:37 am    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Tue May 12, 2009 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Tue May 12, 2009 10:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed May 13, 2009 5:44 am    Post subject: Reply with quote

use . and ,
_________________
The End of the Internet!
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Wed May 13, 2009 1:05 pm    Post subject: Reply with quote

truc wrote:
use . and ,
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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed May 13, 2009 1:11 pm    Post subject: Reply with quote

'n' is bound by default to moving item down.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Tue May 19, 2009 7:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6 ... 9, 10, 11  Next
Page 5 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum