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 ... 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Tue Mar 17, 2009 10:56 pm    Post subject: Reply with quote

oops, this part of code is screwed, shit. but this shouldn't occur unless you don't have /etc/locale.gen file or glibc properly installed. can you paste the output of ./configure here?
_________________
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 Mar 18, 2009 3:22 am    Post subject: Reply with quote

Master of the Darkside wrote:
It's already been said that such a feature should be impemented in mpd first, so the client can make use of it.
I doubt it will appear anytime soon 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
Master of the Darkside
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 94
Location: Iasi, Romania

PostPosted: Wed Mar 18, 2009 7:07 am    Post subject: Reply with quote

Here's the output of ./configure. You were right, I didn't have a /etc/locale.gen.

Code:

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for /usr/share/i18n/SUPPORTED... no
checking for /etc/locale.gen... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for ncursesw5-config... /usr/bin/ncursesw5-config
checking for initscr in -lncursesw... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands


After I created it and recompiled glibc, ncmpcpp went to compile just fine.
_________________
No weight nor mass nor beauty of execution can outweigh a grain or fragment of thought
Back to top
View user's profile Send private message
Dimanish
n00b
n00b


Joined: 04 May 2007
Posts: 7

PostPosted: Wed Mar 18, 2009 5:07 pm    Post subject: Reply with quote

Small issue.
Code:
~ % grep browser_display  ~/.ncmpcpp/config
browser_display_mode = "columns"

After launch ncmpcpp and go to browser screen it displays with "classic" style.
Pressing P once display "Browser display mode: Classic" in status.
And finally, pressing P again switch browser display mode to "columns" style.
Code:
~ % ncmpcpp --version
ncmpcpp version: 0.3.2
built with support for: curl taglib unicode
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed Mar 18, 2009 5:46 pm    Post subject: Reply with quote

fixed in git.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
Master of the Darkside
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 94
Location: Iasi, Romania

PostPosted: Wed Mar 18, 2009 6:04 pm    Post subject: Reply with quote

I found another issue: with the latesc ncmpcpp (0.3.2) when you hit '/' to search the playlist, if you press backspace you can actually go to the beginning of the line and overwrite the text 'Find forward:'. After that search won't work.

/EDIT: sorry it seems this last issue has something to do with using ncmpcpp inside screen.
_________________
No weight nor mass nor beauty of execution can outweigh a grain or fragment of thought


Last edited by Master of the Darkside on Wed Mar 18, 2009 9:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed Mar 18, 2009 7:26 pm    Post subject: Reply with quote

Works fine here. Does this happen only with find forward/backward?
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
Dimanish
n00b
n00b


Joined: 04 May 2007
Posts: 7

PostPosted: Thu Mar 19, 2009 4:54 pm    Post subject: Reply with quote

unK wrote:
fixed in git.

Thanks!
Can you make "c" and "C" keys works also in "Browse Screen"?
I think they must works like in playlist screen, clear current playlist and clear all except current listening track.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Mar 19, 2009 5:53 pm    Post subject: Reply with quote

Dimanish wrote:
unK wrote:
fixed in git.

Thanks!
Can you make "c" and "C" keys works also in "Browse Screen"?
I think they must works like in playlist screen, clear current playlist and clear all except current listening track.

Done. I must admit that limiting these to playlist/playlist editor screens only was silly move.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Mar 20, 2009 9:17 am    Post subject: Reply with quote

Sometimes the numbers mess up in the clock-screen (mostly last digit). This happen so randomly - if I run into that again, I'll post a screenshot.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Mar 20, 2009 4:48 pm    Post subject: Reply with quote

Do you have enabled displaying seconds? It happens here sometimes, but only if seconds are visible. Latest commit fixes this (at least for me).
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Sat Mar 21, 2009 2:38 pm    Post subject: Reply with quote

unK wrote:
Do you have enabled displaying seconds? It happens here sometimes, but only if seconds are visible. Latest commit fixes this (at least for me).
#
No, seconds were disabled, it mostly was the last digit of the minutes. I will tell here if that happens again, hope it's fixed. :)
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Apr 02, 2009 9:14 pm    Post subject: Reply with quote

ncmpcpp-0.3.3 released.

changes:
  • new feature: cyclic scrolling
  • support for single mode (requires >=mpd-0.15_alpha*)
  • support for consume mode (requires >=mpd-0.15_alpha*)
  • support for pdcurses library
  • support for WIN32
  • improvements and bugfixes

enjoy.

Note: "repeat one" and "stop after current track" features have been removed in favor of single mode (single & repeat = "repeat one", single & !repeat = "stop after current track"). however, to make use of it you'll need >=mpd-0.15_alpha*.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Apr 16, 2009 6:11 am    Post subject: Reply with quote

unK, thank you so much for ncmpcpp! I'm a long time ncmpc user, and ncmpcpp really brings a bunch of killing features!

A few suggestions though ;) :

It would be nice if ncmpcpp had [optionnal?] readline support :)
And... A way to delete songs, but may be that's already possible? I haven't found how yet!

Thanks again for your work!
_________________
The End of the Internet!
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Apr 17, 2009 1:25 am    Post subject: Reply with quote

truc wrote:
unK, thank you so much for ncmpcpp! I'm a long time ncmpc user, and ncmpcpp really brings a bunch of killing features!

A few suggestions though ;) :

It would be nice if ncmpcpp had [optionnal?] readline support :)
And... A way to delete songs, but may be that's already possible? I haven't found how yet!

Thanks again for your work!

1. For history of filtering/searching patterns?
2. Well, you can use "delete" for this ;p
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Fri Apr 17, 2009 6:35 am    Post subject: Reply with quote

1) For every time there is a prompt: search,filters but also for the tag editor, eg: I often type c-u to delete the current tag and start writing a new one, but end with a ^U printed in the tag. Being able to move easily on the line (hence readline) would be great.

2) well, I meant *really* delete the song (physically), not only from the playlist. A options to ncmpcpp which would return the full path to the current playing song would be just fine.


EDIT: I can see in the changelog, it's possible to rename file and directory, but I can't find how to rename a directory, any hint?

EDIT2:
darklegion wrote:
Hi,
This isn't really a big deal, but it would be nice to be able to search through the help screen with the "/" key.Could make navigating the help screen a little easier, and ncmpc can do this.


I've been missing this feature a bit, and could not find what you answered to darkegion (well, I haven't read the whole thread). What's about it? ;)

Man! Seriously, ncmpcpp is awesome, thank you so much:)
_________________
The End of the Internet!
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Apr 17, 2009 10:48 am    Post subject: Reply with quote

truc wrote:
1) For every time there is a prompt: search,filters but also for the tag editor, eg: I often type c-u to delete the current tag and start writing a new one, but end with a ^U printed in the tag. Being able to move easily on the line (hence readline) would be great.

Ah. Well, I see, what can be done about it ;)

truc wrote:
2) well, I meant *really* delete the song (physically), not only from the playlist. A options to ncmpcpp which would return the full path to the current playing song would be just fine.

I was about to implement deleting songs/dirs in the same way you can delete a playlist (hit delete upon it in browser) but I considered this a bit dangerous (probably, I don't remeber exactly), but well, that would be nice anyway. I'll implement that (and add a warning about that function or something).

truc wrote:
EDIT: I can see in the changelog, it's possible to rename file and directory, but I can't find how to rename a directory, any hint?

By pressing 'e'. This was unfortunately undocumented, but I just added description of all 'e' key functions to help screen in git.

truc wrote:
I've been missing this feature a bit, and could not find what you answered to darkegion (well, I haven't read the whole thread). What's about it? ;)

It's been here for a while.

truc wrote:
Man! Seriously, ncmpcpp is awesome, thank you so much:)

Thanks.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Fri Apr 17, 2009 11:37 am    Post subject: Reply with quote

unK wrote:
It's been here for a while.


Hum, on the _help_ screen, typing / is of no effect here, but it works as expected on every other screens. What could possibly be wrong?

Code:
ncmpcpp --version                                                                     

ncmpcpp version: 0.3.2
built with support for: curl taglib unicode

_________________
The End of the Internet!
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Apr 17, 2009 11:50 am    Post subject: Reply with quote

truc wrote:
Hum, on the _help_ screen, typing / is of no effect here, but it works as expected on every other screens. What could possibly be wrong?

Nothing. Searching in help screen is not supported (likely yet), same with lyrics and song info. I know it can be a bit confusing as the keybinding is in the global section, but adding the same thing multiple times to almost all screens would look ugly.

Ugh, sorry, I missed the "help screen" part in darklegion's quote. I guess I need to sleep more ;p
_________________
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: Sat Apr 18, 2009 3:36 am    Post subject: Reply with quote

FYI: I implemented searching in help, info and lyrics screen in git. However, it doesn't go to first line with searched word, but highlight all words in text. I think this is much better solution than in ncmpc, because I often wasn't able to see where exactly the word was and needed to read whole line. Now it's unnecessary because the searched word can be spotted immediately.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sat Apr 18, 2009 4:46 am    Post subject: Reply with quote

hum, I'm not a big fan of highlighting... Is there a way to change this attribute? or make it configurable? Not sure if you see what I mean, so for example:
Code:
main_window_highlight_color = yellow
could be:
Code:
main_window_highlight_attribute = ?

where ? would be one of:
Code:

       d      dim
       u      underline
       b      bold
       r      reverse
       s      standout
       B      blinking
(losely copied from the screen man page)

See?
_________________
The End of the Internet!
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sat Apr 18, 2009 3:01 pm    Post subject: Reply with quote

I can offer highlight/underline/chosen color. dim doesn't do anything in both xterm/urxvt, standout is just highlight&bold and also not in all terms and blinking works only in xterm (tried rxvt, urxvt and text console).
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sat Apr 18, 2009 3:38 pm    Post subject: Reply with quote

Having the choice between highlight/underline/bold/chosen color or a combinaison of them would be just fine to me:)
_________________
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: Sun Apr 26, 2009 5:30 pm    Post subject: Reply with quote

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?
_________________
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: Sun Apr 26, 2009 8:36 pm    Post subject: Reply with quote

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).
_________________
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 ... 9, 10, 11  Next
Page 4 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