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


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun Jul 04, 2010 10:43 am    Post subject: Reply with quote

Satoshi wrote:
Maybe I missed something, but is there a way to search my media library (or playlist, to me they are always the same) quickly? Like, just write whatever and it will show everything with whatever?

I find the search screen to be much too cumbersome. Something like / and ? but without the directional orientation and producing a list of matches instead of just jumping to the closest one.


Code:
^F
:?:

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


Joined: 06 Feb 2007
Posts: 765

PostPosted: Mon Jul 05, 2010 1:26 pm    Post subject: Reply with quote

avx wrote:
Either I didn't find it or it's not possible, yet. Would be nice, if I could give the progress-indicator (=#) a different color from the progressbar itself. Thanks :)

you mean, to set it so in e.g. "==>──" "==>" would have other color than "──"?

avx wrote:
Edit, come to think of it, what about vertical aligned indicators for progress and volume - optional of course? Thus something like this
Quote:
|
| title 1 |
| title 2 +
| title 3 |
+ tile 4 |
| title 5 |


it would look ugly imho. also tbh, I'm too lazy to implement it :wink:

avx wrote:
Edit2, reproducable segfault when pressing the predefined "\" - on my german keyboard that would be alt_gr+?

can't reproduce, backtrace please.

Master of the Darkside wrote:
One little request: I've noticed that in the latest ncmpcpp, for files with no tags all fields are shown as <empty>. Maybe in this case showing the filename as title would be more appropriate?

read lines 213-222 in example config file (the newest one), please.

avx wrote:
How do I change the color of the visualizer(wave in my case)? I replaced all occurances of "yellow", still it's yellow.

main_window_color defines it. if you'd like, you could write a patch that will allow it to be defined by other config option, it's fairly easy.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2071

PostPosted: Mon Jul 05, 2010 2:36 pm    Post subject: Reply with quote

Quote:
you mean, to set it so in e.g. "==>──" "==>" would have other color than "──"?
Exactly( I'd like to have a white progressbar with an green indicator).
Quote:
it would look ugly imho. also tbh, I'm too lazy to implement it
Well, I'd use http://en.wikipedia.org/wiki/Box-drawing_characters - btw, would be nice to be able to configure all chars used in the progressbar without the need to hack the source directly ;)
Quote:
main_window_color defines it. if you'd like, you could write a patch that will allow it to be defined by other config option, it's fairly easy.
Thanks, will check it out.

Quote:
can't reproduce, backtrace please
Merging gdb now...
Quote:
GNU gdb (Gentoo 7.1 p1) 7.1
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/ncmpcpp...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/ncmpcpp
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
[?1049h[?7h[?25l===[?1000h]0;ncmpc++ ver. 0.5.4(0qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq[?7lq[?7h(B
(0(B(BHot N Cold  Katy Perry - One Of The Boys(BI Kissed A Girl Katy Perry - One Of The Boys

]0;Katy Perry - Hot N Cold
(B┼(0qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq[?7lq[?7h(B
(0(B(BHot N Cold Katy Perry - One Of The Boys
(B─┼
(B─┼
(B─┼
(BHot N Cold(B(B Katy Perry - One Of The Boys
(B─┼
(B─┼
(B─┼
(B─┼
(B─┼
(B─┼
(B─┼
==
Program received signal SIGSEGV, Segmentation fault.
0x000000000042e3be in ?? ()
(gdb) backtrace
#0 0x000000000042e3be in ?? ()
#1 0x000000000043019f in ?? ()
#2 0x00007ffff6e93bbd in __libc_start_main () from /lib/libc.so.6
#3 0x000000000040a3c9 in ?? ()
#4 0x00007fffffffe648 in ?? ()
#5 0x000000000000001c in ?? ()
#6 0x0000000000000001 in ?? ()
#7 0x00007fffffffe946 in ?? ()
#8 0x0000000000000000 in ?? ()

(gdb) q
A debugging session is active.

Inferior 1 [process 32618] will be killed.

Quit anyway? (y or n)
Back to top
View user's profile Send private message
Satoshi
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 180
Location: Brazil

PostPosted: Mon Jul 05, 2010 4:34 pm    Post subject: Reply with quote

truc wrote:
Satoshi wrote:
Maybe I missed something, but is there a way to search my media library (or playlist, to me they are always the same) quickly? Like, just write whatever and it will show everything with whatever?

I find the search screen to be much too cumbersome. Something like / and ? but without the directional orientation and producing a list of matches instead of just jumping to the closest one.


Code:
^F
:?:

EDIT: keyword: filter



Thanks!

Is there a way to quickly disable the filter?


Also, is there a way to make the playlist follow currently playing song? Without pressing "o".
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 765

PostPosted: Mon Jul 05, 2010 5:13 pm    Post subject: Reply with quote

Satoshi wrote:
Is there a way to quickly disable the filter?

Ctrl+F, Ctrl+U, Enter (not so quick though).

Satoshi wrote:
Also, is there a way to make the playlist follow currently playing song? Without pressing "o".

Shift+U

avx, you need to compile ncmpcpp with debug symbols, without them the backtrace is useless.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2071

PostPosted: Mon Jul 05, 2010 5:36 pm    Post subject: Reply with quote

Quote:
avx, you need to compile ncmpcpp with debug symbols
How so?
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Mon Jul 05, 2010 6:16 pm    Post subject: Reply with quote

avx wrote:
Quote:
avx, you need to compile ncmpcpp with debug symbols
How so?
add -ggdb to CFLAGS and make sure you don't have -fomit-frame-pointer in your CFLAGS either. -O0 can also help.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2071

PostPosted: Mon Jul 05, 2010 6:27 pm    Post subject: Reply with quote

Mh, did that and emptied the caches, still I don't get more info out of it. Do I need to compile something else then ncmpcpp with these settings?
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Mon Jul 05, 2010 6:31 pm    Post subject: Reply with quote

avx wrote:
Mh, did that and emptied the caches, still I don't get more info out of it. Do I need to compile something else then ncmpcpp with these settings?
Make sure to `make clean` first. That should be enough to get ncmpcpp built with debug symbols.

Are you building ncmpcpp with portage, or are you doing it be hand? If you're using portage make sure you have ``nostrip'' set in FEATURES in /etc/make.conf.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2071

PostPosted: Mon Jul 05, 2010 7:16 pm    Post subject: Reply with quote

I'm using portage, but even with 'nostrip', it doesn't give more info?!

I built it with:
Quote:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -mfpmath=sse -msse4 -O0 -ggdb -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,--hash-style=both -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s"

FEATURES="nostrip buildpkg collision-protect metadata-transfer parallel-fetch sandbox unmerge-orphans userfetch userpriv usersandbox usersync"
EMERGE_DEFAULT_OPTS="--jobs=4 --keep-going --nospinner --quiet-build --with-bdeps=y"
Anything wrong with that?
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Mon Jul 05, 2010 7:32 pm    Post subject: Reply with quote

Try with your CFLAGS set to
Code:
-O0 -ggdb -pipe
I'm not sure if the sse flags would do anything to prevent relative debug information.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 765

PostPosted: Mon Jul 05, 2010 7:33 pm    Post subject: Reply with quote

Yes. You have -s in your LDFLAGS, which strips debug info from binaries. Remove it, it's useless as portage does it automatically unless you have 'nostrip' in FEATURES.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2071

PostPosted: Mon Jul 05, 2010 8:38 pm    Post subject: Reply with quote

Ok, now I'm getting something which seems a bit more relevant:
Quote:
Program received signal SIGSEGV, Segmentation fault.
0x000000000043c35d in resize_screen () at ncmpcpp.cpp:166
166 ncmpcpp.cpp: No such file or directory.
in ncmpcpp.cpp
(gdb) backtrace
#0 0x000000000043c35d in resize_screen () at ncmpcpp.cpp:166
#1 0x000000000043dee1 in main (argc=1, argv=0x7fffffffe688) at ncmpcpp.cpp:553
(gdb) q
Back to top
View user's profile Send private message
Satoshi
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 180
Location: Brazil

PostPosted: Mon Jul 05, 2010 8:51 pm    Post subject: Reply with quote

Okay, me again.

Is there a way to change default name of the lyrics file it searches for and saves to disk?

I have been using Gmusicbrowser and saved all my lyrics in ~/.lyrics/%Artist/%Song.lyric

It'd be nice to be able to use those. Also, new lyrics downloaded by ncmpcpp could be used by gmb.


And just out of curiosity: what does ncmpcpp stand for? I AlWAYS get it wrong.
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Mon Jul 05, 2010 9:21 pm    Post subject: Reply with quote

Satoshi wrote:

And just out of curiosity: what does ncmpcpp stand for? I AlWAYS get it wrong.
NCurses Music Player Client ++.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 765

PostPosted: Wed Jul 07, 2010 6:24 pm    Post subject: Reply with quote

avx wrote:
Ok, now I'm getting something which seems a bit more relevant:
Quote:
Program received signal SIGSEGV, Segmentation fault.
0x000000000043c35d in resize_screen () at ncmpcpp.cpp:166
166 ncmpcpp.cpp: No such file or directory.
in ncmpcpp.cpp
(gdb) backtrace
#0 0x000000000043c35d in resize_screen () at ncmpcpp.cpp:166
#1 0x000000000043dee1 in main (argc=1, argv=0x7fffffffe688) at ncmpcpp.cpp:553
(gdb) q

Pastebin your ncmpcpp config file, please.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2071

PostPosted: Wed Jul 07, 2010 8:32 pm    Post subject: Reply with quote

grep -v '^#' .ncmpcpp/config wrote:
visualizer_fifo_path = "/mnt/bigstore/media/music/.mpd/fifo"
visualizer_output_name = "mpdfifo"
visualizer_type = "wave"
song_list_format = "$8%t$R%a - %b$9"
selected_item_prefix = "$6"
progressbar_look = "─┼"
header_visibility = "no"
statusbar_visibility = "no"
main_window_color = "green"
main_window_highlight_color = "green"
progressbar_color = "green"
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 765

PostPosted: Wed Jul 07, 2010 9:45 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
Satoshi
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 180
Location: Brazil

PostPosted: Fri Jul 09, 2010 12:45 pm    Post subject: Reply with quote

Hey, unK, what about the lyrics thing I mentioned earlier?

Is there a way to change the default file it saves to/looks for? I've got hundreds of already-downloaded lyrics, and I'd like to use them (specially considering my internet is quite unstable and I hate listening to music without lyrics).
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2071

PostPosted: Fri Jul 09, 2010 1:39 pm    Post subject: Reply with quote

unK wrote:
fixed in git.
Thanks.
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 467

PostPosted: Mon Oct 11, 2010 5:47 am    Post subject: Reply with quote

I was going to post this on the bug tracker, but I figure it's more of a question than anything else. Anyway, I would like to use www.darklyrics.com as a lyrics source. Is there a way to add new databases or does it require changes to the client itself?

Thanks
Back to top
View user's profile Send private message
angry_vincent
n00b
n00b


Joined: 21 Feb 2010
Posts: 30

PostPosted: Sat Oct 16, 2010 4:51 pm    Post subject: Reply with quote

Whenever I trying to clear playlist (with "c") or press F1, F2, F3 buttons, ncmpcpp immediately freezes and using 100% of CPU ncmpcpp-0.5.5, ~amd64, default config.
Back to top
View user's profile Send private message
angry_vincent
n00b
n00b


Joined: 21 Feb 2010
Posts: 30

PostPosted: Wed Oct 20, 2010 4:24 pm    Post subject: Reply with quote

found the problem. it's screen issue. if i working in normal console without any terminal multiplexers, it's ok.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Oct 20, 2010 7:26 pm    Post subject: Reply with quote

Satoshi wrote:
Is there a way to change default name of the lyrics file it searches for and saves to disk?

I have been using Gmusicbrowser and saved all my lyrics in ~/.lyrics/%Artist/%Song.lyric

It'd be nice to be able to use those. Also, new lyrics downloaded by ncmpcpp could be used by gmb.


Hello! I was about to ask the very same question, is there any way to configure it? or this possibility is just not in ncmpcpp?

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


Joined: 06 Feb 2007
Posts: 765

PostPosted: Wed Oct 20, 2010 7:32 pm    Post subject: Reply with quote

Nah, but since 0.5.5 you can save them in song's directory instead of ~/.lyrics.

The feature you're talking about it quite easy to implement though, so you can try to do so and send me a patch.

darklegion wrote:
I was going to post this on the bug tracker, but I figure it's more of a question than anything else. Anyway, I would like to use www.darklyrics.com as a lyrics source. Is there a way to add new databases or does it require changes to the client itself?

Thanks

The problem with darklyrics.com is that they display lyrics for whole album at one page, which makes ripping out proper lyrics impossible (unless I'm missing something, but brief analysis of page's source didn't reveal anything helpful).

EDIT: Oh, well, apparently identifying proper lyrics can be done using track number.
_________________
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 ... , 9, 10, 11  Next
Page 10 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