View previous topic :: View next topic |
Author |
Message |
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Sat Oct 10, 2009 8:08 am Post subject: |
|
|
it's prefix/suffix for your saved mpd playlists. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
xiber Apprentice
Joined: 28 Oct 2003 Posts: 245 Location: Fremont, CA
|
Posted: Sat Oct 17, 2009 5:49 pm Post subject: |
|
|
Hey Thanks. Another question: F5 / 5 Toggles the Media Library, and also switches between 2/3 column mode for the Media Library. Most of the time I'm in 3 column mode. Can I disable the 2 column toggle? I keep switching to it by mistake and for me, it takes longer to load then 3 column mode. _________________ Athlon XP-M 2600 @ 2.3 GHz OC | Abit NF7-S r2.0 | 2x512MB PC3200 | 6600GT OC | Audigy 2 | Gentoo | 2005
Athlon 64 X2 4600 @ 2.4 GHz | Asus M2N-SLI DLX | 4x1GB PC6400 | 7600GT KO | 7HD @ 3.1TB | OpenSolaris SXCE | 2007 |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Mon Oct 19, 2009 3:55 pm Post subject: |
|
|
Quote: | Can I disable the 2 column toggle? |
no, since that's actually the same keybinding as for switching to media library. but you can use this patch for it: http://omploader.org/vMmtycw _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
xiber Apprentice
Joined: 28 Oct 2003 Posts: 245 Location: Fremont, CA
|
Posted: Wed Oct 21, 2009 3:52 am Post subject: |
|
|
Thank you!!!!!!! I'll try it sometime this week. _________________ Athlon XP-M 2600 @ 2.3 GHz OC | Abit NF7-S r2.0 | 2x512MB PC3200 | 6600GT OC | Audigy 2 | Gentoo | 2005
Athlon 64 X2 4600 @ 2.4 GHz | Asus M2N-SLI DLX | 4x1GB PC6400 | 7600GT KO | 7HD @ 3.1TB | OpenSolaris SXCE | 2007 |
|
Back to top |
|
|
w1n73rmu7e n00b
Joined: 20 Jul 2009 Posts: 32 Location: The greatest country on Earth.
|
Posted: Thu Oct 22, 2009 11:25 pm Post subject: |
|
|
When I try to get the lyrics for this song, ncmpc++ crashes. Also, the hangul render correctly in the "Browse" window, but in the "Playlist" window, they don't. Any ideas? _________________
BoneKracker wrote: | Sorry for being patronizing. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Fri Oct 23, 2009 12:14 am Post subject: |
|
|
I can't reproduce. I need result of `ncmpcpp --version`, `locale` and backtrace of the crash. Also, what encoding are id3 tags written in? All I can see is:
Code: | Title: Hot Stuff
Artist: ???
Album: ???? ??? OST |
I use utf-8 (but maybe that's just missing font, what language is that?). _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
w1n73rmu7e n00b
Joined: 20 Jul 2009 Posts: 32 Location: The greatest country on Earth.
|
Posted: Fri Oct 23, 2009 2:13 am Post subject: |
|
|
unK wrote: | I can't reproduce. I need result of `ncmpcpp --version` |
Quote: | ncmpcpp version: 0.3.5
built with support for: curl unicode |
But I'm running ncmpcpp-9999 (and haven't updated in a while).
I just tried to update to the latest Git revision, but got the error "configure: error: libmpdclient2 is required!". Shouldn't that have been installed as a dependency by Portage?
Quote: | LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL= |
Quote: | backtrace of the crash | I don't know how to get that, but when it crashes, I get this error: Quote: | terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Aborted |
Quote: | Also, what encoding are id3 tags written in? | Not sure, how can I get that information?
Quote: | maybe that's just missing font, what language is that? | It's Korean. I have the necessary fonts installed (via the "cjk" USE flag). _________________
BoneKracker wrote: | Sorry for being patronizing. |
|
|
Back to top |
|
|
Master of the Darkside Tux's lil' helper
Joined: 02 Sep 2004 Posts: 94 Location: Iasi, Romania
|
Posted: Fri Oct 23, 2009 7:48 am Post subject: |
|
|
Hi unK,
I think it would be nice if:
- when applying a filter against the playlist the currently playing song would still be highlighted (like in the non-filtered playlist)
- the next songs could be picked from the ones in the filter, not the whole playlist (I know this may not be possible)
Thank you, keep up the good work . _________________ No weight nor mass nor beauty of execution can outweigh a grain or fragment of thought |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Fri Oct 23, 2009 7:52 am Post subject: |
|
|
w1n73rmu7e wrote: | unK wrote: | I can't reproduce. I need result of `ncmpcpp --version` |
Quote: | ncmpcpp version: 0.3.5
built with support for: curl unicode |
But I'm running ncmpcpp-9999 (and haven't updated in a while).
I just tried to update to the latest Git revision, but got the error "configure: error: libmpdclient2 is required!". Shouldn't that have been installed as a dependency by Portage?
Quote: | LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL= |
Quote: | backtrace of the crash | I don't know how to get that, but when it crashes, I get this error: Quote: | terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Aborted |
|
Quote: | I just tried to update to the latest Git revision, but got the error "configure: error: libmpdclient2 is required!". Shouldn't that have been installed as a dependency by Portage? |
it is a dependency. update your mpd overlay as it was added recently.
about the lyrics and ncmpcpp-0.3.5: see https://forums.gentoo.org/viewtopic-p-5965849.html#5965849 and post below it. just update to the newest version and it'll be fine. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
w1n73rmu7e n00b
Joined: 20 Jul 2009 Posts: 32 Location: The greatest country on Earth.
|
Posted: Fri Oct 23, 2009 7:07 pm Post subject: |
|
|
That did it, thanks a lot! _________________
BoneKracker wrote: | Sorry for being patronizing. |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Fri Oct 23, 2009 7:35 pm Post subject: |
|
|
Master of the Darkside wrote: | Hi unK,
I think it would be nice if:
- when applying a filter against the playlist the currently playing song would still be highlighted (like in the non-filtered playlist)
- the next songs could be picked from the ones in the filter, not the whole playlist (I know this may not be possible)
Thank you, keep up the good work . |
1. it's fixed in git. you can wait for 0.4.2, use git version or apply the patch to 0.4.1, it's here.
2. see https://forums.gentoo.org/viewtopic-p-5847947.html#5847947 currently is a no-go, though I may implement something like that in the future, but that's just a random speculation _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
xiber Apprentice
Joined: 28 Oct 2003 Posts: 245 Location: Fremont, CA
|
Posted: Fri Oct 23, 2009 8:19 pm Post subject: |
|
|
unK wrote: | Quote: | Can I disable the 2 column toggle? |
no, since that's actually the same keybinding as for switching to media library. but you can use this patch for it: http://omploader.org/vMmtycw |
This worked perfectly. Thanks! _________________ Athlon XP-M 2600 @ 2.3 GHz OC | Abit NF7-S r2.0 | 2x512MB PC3200 | 6600GT OC | Audigy 2 | Gentoo | 2005
Athlon 64 X2 4600 @ 2.4 GHz | Asus M2N-SLI DLX | 4x1GB PC6400 | 7600GT KO | 7HD @ 3.1TB | OpenSolaris SXCE | 2007 |
|
Back to top |
|
|
Master of the Darkside Tux's lil' helper
Joined: 02 Sep 2004 Posts: 94 Location: Iasi, Romania
|
Posted: Thu Dec 03, 2009 10:25 am Post subject: |
|
|
Hi unK,
I noticed that ncmpcpp crashes if you press space in the playlist window, if the playlist is empty. Best way to reproduce is to press 'c' and then 'space'.
Secondly, I have a hunch that ncmpcpp is somehow crashing screen (I always use screen). Can't trace it or reproduce it though, so I can't be sure, but I've had it happen several times, so it seems more than a coincidence. _________________ No weight nor mass nor beauty of execution can outweigh a grain or fragment of thought |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Dec 03, 2009 11:34 am Post subject: |
|
|
Coming back to a former feature request of mine: a pre-listening function.
Since mpd now happily supports multiple soundcards via "audio_output" isn't it possible to create a browser window (searchable of course ) in which the highlighted songs are played immediately with a defined audio_output?
This would be the *killer* feature for me and let me switch /immediately/ from PyTone to mpd+ncmpcpp
Greetz
swimmer |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Sun Dec 06, 2009 1:08 pm Post subject: |
|
|
Master of the Darkside wrote: | I noticed that ncmpcpp crashes if you press space in the playlist window, if the playlist is empty. Best way to reproduce is to press 'c' and then 'space'. |
fixed in git.
Master of the Darkside wrote: | Secondly, I have a hunch that ncmpcpp is somehow crashing screen (I always use screen). Can't trace it or reproduce it though, so I can't be sure, but I've had it happen several times, so it seems more than a coincidence. |
If ncmpcpp is crashing screen I'd say it's screen's fault, not ncmpcpp's.
Quote: | Since mpd now happily supports multiple soundcards via "audio_output" isn't it possible to create a browser window (searchable of course ) in which the highlighted songs are played immediately with a defined audio_output? |
I think it's technically not possible. There is no way to make mpd play song only with specified output out of the box. You can automatically turn off all audio outputs except the wanted one but that's just workaround. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
w1n73rmu7e n00b
Joined: 20 Jul 2009 Posts: 32 Location: The greatest country on Earth.
|
Posted: Sun Dec 06, 2009 5:41 pm Post subject: |
|
|
unK wrote: | Master of the Darkside wrote: | Secondly, I have a hunch that ncmpcpp is somehow crashing screen (I always use screen). Can't trace it or reproduce it though, so I can't be sure, but I've had it happen several times, so it seems more than a coincidence. |
If ncmpcpp is crashing screen I'd say it's screen's fault, not ncmpcpp's. | Screen indeed has quite a few issues. I would strongly suggest taking a look at tmux as an alternative terminal multiplexer. _________________
BoneKracker wrote: | Sorry for being patronizing. |
|
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Fri Dec 25, 2009 10:03 am Post subject: |
|
|
Sorry to disturb during the holidays...
and thanks a lot for an incredibly nice mpd client developed at an incredible speed!
I somehow can't figure out how "selected_item_prefix/suffic" works. It doesn't seem to change the colors of the selected lines. Right now I added an asterisk (*) at the end, which is shown and it's color does change accordingly, but the tag in front stays the default color.
Right now I have
Code: | selected_item_prefix = "$3*"
selected_item_suffic = "*$9" |
Only the last asterisk shows, not the first one.
Also, if I put "-$3*" as prefix and "*$9-" as suffix, only the asterisk and dash after the tag appear, but in the right colors.
I'd expect this: Normal lines are blue. I select a line and it becomes green. The dashes/asterisks were just for testing. Following unselected lines are blue again. If that's not how this function is supposed to work, please correct me.
Thanks a lot.
Edit: The now_playing_prefix/suffix work a little differently, there the first AND last dashes/asterisks appear, also in the right colors, but the tags are in the default color again. Also, the "bold" goes away, even though I wouldn't mind it. In fact, it could be a config option as well.
Whatcha say? _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Thu Dec 31, 2009 11:23 am Post subject: |
|
|
Quote: | Only the last asterisk shows, not the first one. |
that was actually a bug, it's fixed in git/0.5.
colors works in the same way in now_playing_suffix/prefix and in selected_item_prefix/suffix.
Quote: | I'd expect this: Normal lines are blue. I select a line and it becomes green. The dashes/asterisks were just for testing. Following unselected lines are blue again. |
yes, that's exactly the way it should work (and afaik it does )
Quote: | Also, the "bold" goes away, even though I wouldn't mind it. In fact, it could be a config option as well. |
there are format options for bolding/underlining/reversing colors. see example config file for further description.
btw, ncmpcpp-0.5 released.
changes:
- bash completion support
- libmpdclient2 support
- "idle" command support
- new screen: mpd server info
- new feature: sort songs in browser by mtime
- new feature: lyrics "refreshing"
- new feature: toggle replay gain mode
- new feature: support for centered cursor
- new feature: add selected items to playlist at given position
- playlist: support for range sort/reverse
- tag editor: support for numerating tracks using xx/xx format
- a lot of minor fixes
enjoy. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Thu Dec 31, 2009 1:47 pm Post subject: |
|
|
Yeah, the first asterisk shows now, thanks. Nevertheless it seems that the "normal" color format for the lines overrides what I set in the pre-/suffix stuff. The asterisks do get the color I choose as pre-/suffix, but the rest of the line doesn't change, except for the bold/reverse/underline stuff. Does it really work for you? If yes, please show me your config...
I really like the new feature to add files at a special position in the playlist...but how do I use it? I'd guess by marking files (no matter if in playlist or browser) and pressing 'M' (capital m, that is) like the help screen says. But that doesn't work, at least not for stuff I mark in the browser.
Thanks for your help. _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Thu Dec 31, 2009 6:51 pm Post subject: |
|
|
Sorry, for being a nuisance, but I would like to know why the search with ncmpc++ takes a lot longer than directly with mpc? If that's just the case for me, I'll have to dig into my network, but it seems odd. _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Thu Dec 31, 2009 8:17 pm Post subject: |
|
|
Quote: | The asterisks do get the color I choose as pre-/suffix, but the rest of the line doesn't change, except for the bold/reverse/underline stuff. |
What view mode do you use, columns or "classic" one?
Quote: | Sorry, for being a nuisance, but I would like to know why the search with ncmpc++ takes a lot longer than directly with mpc? If that's just the case for me, I'll have to dig into my network, but it seems odd. |
Since mpd doesn't support regular expressions, ncmpcpp has to fetch whole database to search in it. If your mpd is running on a remote host, downloading db can take some time. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Thu Dec 31, 2009 10:58 pm Post subject: |
|
|
I use classic mode.
Is there some way to turn off that regex search? If I use something like "mpc search any BLABLA" it is pretty quick...Wouldn't that be a good option? _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Sat Jan 02, 2010 4:29 am Post subject: |
|
|
smlgbl wrote: | I use classic mode. |
Do you have explicitly set colors for all tags in song_list_format? That may be the only case why setting color in selected_item_prefix doesn't change your line color, it can change only tags that don't have custom color set (and thus their color is main_window_color). Try with default settings, it *has* to work.
smlgbl wrote: | Is there some way to turn off that regex search? If I use something like "mpc search any BLABLA" it is pretty quick...Wouldn't that be a good option? |
No, because it doesn't support regular expressions. I can however add another search option, that would use internal mpd searching. Please fill a feature request on mpd mantis (http://www.musicpd.org/mantis/) about that, I'm very likely to forget about features requested here. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Sat Jan 02, 2010 10:16 am Post subject: |
|
|
unK wrote: | Do you have explicitly set colors for all tags in song_list_format? |
That's right. And kinda makes sense, that it doesn't work then. Theoretically, it could be implemented to override those settings though. In my opinion, that would make sense. But suit yourself.
unK wrote: | smlgbl wrote: | Is there some way to turn off that regex search? If I use something like "mpc search any BLABLA" it is pretty quick...Wouldn't that be a good option? |
No, because it doesn't support regular expressions. I can however add another search option, that would use internal mpd searching. Please fill a feature request on mpd mantis (http://www.musicpd.org/mantis/) about that, I'm very likely to forget about features requested here. |
Will do that. That would be awesome. For me the mpd-way of searching seems enough for most cases. _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
xiber Apprentice
Joined: 28 Oct 2003 Posts: 245 Location: Fremont, CA
|
Posted: Fri Jan 15, 2010 4:13 am Post subject: |
|
|
Speaking of search, I'd like to somehow be able to sort/search tracks or albums or artists by recently added. I know mpd keeps track of mtimes so in theory it should be possible. I ask because as my collection grows, I sometime have a hard time remembering what I just added after a few days. Any plans to have a feature like this? _________________ Athlon XP-M 2600 @ 2.3 GHz OC | Abit NF7-S r2.0 | 2x512MB PC3200 | 6600GT OC | Audigy 2 | Gentoo | 2005
Athlon 64 X2 4600 @ 2.4 GHz | Asus M2N-SLI DLX | 4x1GB PC6400 | 7600GT KO | 7HD @ 3.1TB | OpenSolaris SXCE | 2007 |
|
Back to top |
|
|
|