View previous topic :: View next topic |
Author |
Message |
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sun Jul 04, 2010 10:43 am Post subject: |
|
|
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. |
EDIT: keyword: filter _________________ The End of the Internet! |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Mon Jul 05, 2010 1:26 pm Post subject: |
|
|
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
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Mon Jul 05, 2010 2:36 pm Post subject: |
|
|
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:
<https://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[1;71r[m[4l[?7h[39;49m[?25l===[?1000h]0;ncmpc++ ver. 0.5.4[39;49m[m[H[2J[71d[0;1m(0[38;5;2mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq[?7lq[?7h[39;49m(B[m
[0;1m(0[38;5;2m[39;49m(B[m[H[2J[0;7m(B[38;5;7mHot N Cold[38;5;2m [38;5;7m Katy Perry - One Of The Boys[2;1H[0m(B[38;5;7mI Kissed A Girl[38;5;2m[115X[2;131H[38;5;7m Katy Perry - One Of The Boys[3;1H[38;5;2m[K
[K
[K[39;49m[m[H[70d]0;Katy Perry - Hot N Cold
[0;1m(B[38;5;2m┼[0;1m(0[38;5;2mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq[?7lq[?7h[39;49m(B[m
[0;1m(0[38;5;2m[39;49m(B[m[H[0;1;7m(B[38;5;7mHot N Cold[1;131H Katy Perry - One Of The Boys[70;1H[39;49m[m[H[70d
[0;1m(B[38;5;2m─┼
[39;49m[m[C[0;1m(B[38;5;2m─┼
[39;49m[m[3G[0;1m(B[38;5;2m─┼
[39;49m[m[H[0;1m(B[38;5;7mHot N Cold[0m(B[38;5;2m[120X[1;131H[0;1m(B[38;5;7m Katy Perry - One Of The Boys[70;1H[39;49m[m
[4G[0;1m(B[38;5;2m─┼
[39;49m[m[5G[0;1m(B[38;5;2m─┼
[39;49m[m[6G[0;1m(B[38;5;2m─┼
[39;49m[m[7G[0;1m(B[38;5;2m─┼
[39;49m[m[8G[0;1m(B[38;5;2m─┼
[39;49m[m[71;9H[0;1m(B[38;5;2m─┼
[39;49m[m[71;10H[0;1m(B[38;5;2m─┼
[39;49m[m==
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 |
|
|
Satoshi Apprentice
Joined: 06 Nov 2006 Posts: 180 Location: Brazil
|
Posted: Mon Jul 05, 2010 4:34 pm Post subject: |
|
|
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. |
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 |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Mon Jul 05, 2010 5:13 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Mon Jul 05, 2010 5:36 pm Post subject: |
|
|
Quote: | avx, you need to compile ncmpcpp with debug symbols | How so? |
|
Back to top |
|
|
dreadlorde Apprentice
Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Mon Jul 05, 2010 6:16 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Mon Jul 05, 2010 6:27 pm Post subject: |
|
|
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 |
|
|
dreadlorde Apprentice
Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Mon Jul 05, 2010 6:31 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Mon Jul 05, 2010 7:16 pm Post subject: |
|
|
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 |
|
|
dreadlorde Apprentice
Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Mon Jul 05, 2010 7:32 pm Post subject: |
|
|
Try with your CFLAGS set to
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 |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Mon Jul 05, 2010 7:33 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Mon Jul 05, 2010 8:38 pm Post subject: |
|
|
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 |
|
|
Satoshi Apprentice
Joined: 06 Nov 2006 Posts: 180 Location: Brazil
|
Posted: Mon Jul 05, 2010 8:51 pm Post subject: |
|
|
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 |
|
|
dreadlorde Apprentice
Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Mon Jul 05, 2010 9:21 pm Post subject: |
|
|
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 |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Wed Jul 07, 2010 6:24 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Wed Jul 07, 2010 8:32 pm Post subject: |
|
|
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 |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Wed Jul 07, 2010 9:45 pm Post subject: |
|
|
fixed in git. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
Satoshi Apprentice
Joined: 06 Nov 2006 Posts: 180 Location: Brazil
|
Posted: Fri Jul 09, 2010 12:45 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Fri Jul 09, 2010 1:39 pm Post subject: |
|
|
Thanks. |
|
Back to top |
|
|
darklegion Guru
Joined: 14 Nov 2004 Posts: 468
|
Posted: Mon Oct 11, 2010 5:47 am Post subject: |
|
|
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 |
|
|
angry_vincent n00b
Joined: 21 Feb 2010 Posts: 30
|
Posted: Sat Oct 16, 2010 4:51 pm Post subject: |
|
|
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 |
|
|
angry_vincent n00b
Joined: 21 Feb 2010 Posts: 30
|
Posted: Wed Oct 20, 2010 4:24 pm Post subject: |
|
|
found the problem. it's screen issue. if i working in normal console without any terminal multiplexers, it's ok. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Oct 20, 2010 7:26 pm Post subject: |
|
|
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 |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Wed Oct 20, 2010 7:32 pm Post subject: |
|
|
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 |
|
|
|