Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

ncmpcpp - improved ncmpc with some new features

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
262 posts
  • Page 10 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next
Author
Message
truc
Advocate
Advocate
User avatar
Posts: 3199
Joined: Mon Jul 25, 2005 9:24 am

  • Quote

Post by truc » Sun Jul 04, 2010 10:43 am

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: Select all

^F
:?:

EDIT: keyword: filter
The End of the Internet!
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Mon Jul 05, 2010 1:26 pm

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
|
| 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
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Mon Jul 05, 2010 2:36 pm

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).
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 ;)
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.
can't reproduce, backtrace please
Merging gdb now...
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[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)
Top
Satoshi
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Mon Nov 06, 2006 10:37 pm
Location: Brazil

  • Quote

Post by Satoshi » Mon Jul 05, 2010 4:34 pm

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: Select all

^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".
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Mon Jul 05, 2010 5:13 pm

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
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Mon Jul 05, 2010 5:36 pm

avx, you need to compile ncmpcpp with debug symbols
How so?
Top
dreadlorde
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Dec 16, 2008 8:29 pm
Location: /adm/timezone/US_Michigan
Contact:
Contact dreadlorde
Website

  • Quote

Post by dreadlorde » Mon Jul 05, 2010 6:16 pm

avx wrote:
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
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.
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Mon Jul 05, 2010 6:27 pm

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?
Top
dreadlorde
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Dec 16, 2008 8:29 pm
Location: /adm/timezone/US_Michigan
Contact:
Contact dreadlorde
Website

  • Quote

Post by dreadlorde » Mon Jul 05, 2010 6:31 pm

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
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.
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Mon Jul 05, 2010 7:16 pm

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

I built it with:
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?
Top
dreadlorde
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Dec 16, 2008 8:29 pm
Location: /adm/timezone/US_Michigan
Contact:
Contact dreadlorde
Website

  • Quote

Post by dreadlorde » Mon Jul 05, 2010 7:32 pm

Try with your CFLAGS set to

Code: Select all

-O0 -ggdb -pipe
I'm not sure if the sse flags would do anything to prevent relative debug information.
Ludwig von Mises Institute
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.
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Mon Jul 05, 2010 7:33 pm

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
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Mon Jul 05, 2010 8:38 pm

Ok, now I'm getting something which seems a bit more relevant:
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
Top
Satoshi
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Mon Nov 06, 2006 10:37 pm
Location: Brazil

  • Quote

Post by Satoshi » Mon Jul 05, 2010 8:51 pm

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.
Top
dreadlorde
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Dec 16, 2008 8:29 pm
Location: /adm/timezone/US_Michigan
Contact:
Contact dreadlorde
Website

  • Quote

Post by dreadlorde » Mon Jul 05, 2010 9:21 pm

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
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.
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Wed Jul 07, 2010 6:24 pm

avx wrote:Ok, now I'm getting something which seems a bit more relevant:
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
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Wed Jul 07, 2010 8:32 pm

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"
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Wed Jul 07, 2010 9:45 pm

fixed in git.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
Satoshi
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Mon Nov 06, 2006 10:37 pm
Location: Brazil

  • Quote

Post by Satoshi » Fri Jul 09, 2010 12:45 pm

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).
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Fri Jul 09, 2010 1:39 pm

unK wrote:fixed in git.
Thanks.
Top
darklegion
Guru
Guru
Posts: 468
Joined: Sun Nov 14, 2004 1:47 am

  • Quote

Post by darklegion » Mon Oct 11, 2010 5:47 am

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
Top
angry_vincent
n00b
n00b
Posts: 30
Joined: Sun Feb 21, 2010 11:20 am

  • Quote

Post by angry_vincent » Sat Oct 16, 2010 4:51 pm

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.
Top
angry_vincent
n00b
n00b
Posts: 30
Joined: Sun Feb 21, 2010 11:20 am

  • Quote

Post by angry_vincent » Wed Oct 20, 2010 4:24 pm

found the problem. it's screen issue. if i working in normal console without any terminal multiplexers, it's ok.
Top
truc
Advocate
Advocate
User avatar
Posts: 3199
Joined: Mon Jul 25, 2005 9:24 am

  • Quote

Post by truc » Wed Oct 20, 2010 7:26 pm

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!
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Wed Oct 20, 2010 7:32 pm

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
Top
Post Reply

262 posts
  • Page 10 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic