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 1 of 11
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 11
  • Next
Author
Message
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

ncmpcpp - improved ncmpc with some new features

  • Quote

Post by unK » Fri Aug 01, 2008 11:11 pm

I would like to present you ncmpc++, clone of ncmpc rewritten from scratch in C++ with some new features ncmpc doesn't have.

New features:
  • - easy to use search screen
    - tag editor
    - possibility of going to any position in currently playing track without rewinding/fastforwarding
    - multi coloured main window
    - songs can be added to playlist more than once
It also updates tags of songs even if their names didn't change. That's for starters, because lack of these things in ncmpc annoyed me the most, but if you have other ideas/feature request, just tell me. I also didn't implement some features from ncmpc which are redundant for me, but again, if you want something, I'm waiting for feedback.

Screenshots:
http://img187.imageshack.us/img187/1043/skrin0ci9.jpg
http://img366.imageshack.us/img366/9486/skrin1os1.jpg
http://img221.imageshack.us/img221/656/skrin2tg9.jpg

Ebuilds are available in mpd overlay.

Cheers.
Last edited by unK on Fri Sep 05, 2008 3:27 am, edited 8 times in total.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
Zaunmayrchris
n00b
n00b
Posts: 2
Joined: Sun Aug 03, 2008 12:48 pm

ebuild errors

  • Quote

Post by Zaunmayrchris » Sun Aug 03, 2008 12:58 pm

ahoi!!
i tried to install ncmpc++ with this ebuild but it did not work. i get the following output:

Code: Select all

Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) media-sound/ncmpcpp-0.1 to /
 * ncmpcpp-0.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                 [ ok ]
 * checking ncmpcpp-0.1.tar.bz2 ;-) ...                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking ncmpcpp-0.1.tar.bz2 to /var/tmp/portage/media-sound/ncmpcpp-0.1/work
bzip2: /var/tmp/portage/media-sound/ncmpcpp-0.1/distdir/ncmpcpp-0.1.tar.bz2 is not a bzip2 file.
tar: Das sieht nicht wie ein „tar“-Archiv aus.  [[This does not look like an tar-archiv]]
tar: Fehler beim Beenden, verursacht durch vorhergehende Fehler. [[tar: error on exit, caused by previous error]]
 * 
 * ERROR: media-sound/ncmpcpp-0.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2062:  Called unpack 'src_unpack'
 *               ebuild.sh, line  356:  Called die
 * The specific snippet of code:
 *                                      assert "$myfail"
 *  The die message:
 *   failure unpacking ncmpcpp-0.1.tar.bz2
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/ncmpcpp-0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/ncmpcpp-0.1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * 
i am new to gentoo and this portage thing is still a kind of mistery for me, so please excuse me if my problem is too silly.. anyway i would be glad about a hint.

cu
CHristoph
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Sun Aug 03, 2008 9:32 pm

This is strange. It unpacks for me and afaik it also does for others. Have you tried to remove ncmpcpp-0.1.tar.bz2 from /usr/portage/distfiles and download it again?
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
Zaunmayrchris
n00b
n00b
Posts: 2
Joined: Sun Aug 03, 2008 12:48 pm

  • Quote

Post by Zaunmayrchris » Mon Aug 04, 2008 7:59 pm

ahoi.
sry was my mistake. i had to emerge with GENTOO_MIRRORS=". otherwise emerge tried to get the ncmpcpp source from my gentoo mirror and this mirror provided an html-error-page, emerge named this page *tar.bz2 and tried to unpack it.

now it works

cu
CHristoph
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Mon Aug 04, 2008 9:27 pm

I'm glad it works. Btw I added ebuild for live version (update in first post).
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 Aug 06, 2008 1:13 am

Thanks for your work, tags...finally :)

Some feature-wishes:

- if possible, allow fetching of metadata from a webservice(i.e. freedb)
- make it possible to completly hide the "Playlist..." and "Playing..."-line

- maybe another kind of navigation:
I'm sorting my albums in folders like 0-9, a-z on the top-level, then artist name, then album-name, so I'd love to have something like this:

Code: Select all

[0-9] A B C D E ... Z (horizontal, line1)
Artist Artist Artist Artist Artist (horizontal, line2, if neccessary, linebreak and another one)
Song1
Song2
...
Songn
- maybe a hideable pane on the side/bottom, which shows some information(metadata) about the current song/artist(either by metadata or maybe by something like wikipedia or the like).

Thx again,
ph
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Thu Aug 07, 2008 4:09 am

My first impressions are very good. Nice work!

I've added the live git ebuild to berkano overlay.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Thu Aug 07, 2008 9:15 am

ph030 wrote:- if possible, allow fetching of metadata from a webservice(i.e. freedb)
- maybe a hideable pane on the side/bottom, which shows some information(metadata) about the current song/artist(either by metadata or maybe by something like wikipedia or the like).
Fetching information from the Internet about artist (or maybe even similar artists, eg. from last.fm) sounds interesting. I have no idea how to do this, but I'll do some research ;)
ph030 wrote:- make it possible to completly hide the "Playlist..." and "Playing..."-line
So only playlist and progressbar would be visible? Or only a playlist? But there must be one free line for messages/user input (or at least the latter) anyway.
ph030 wrote:- maybe another kind of navigation:
I'm sorting my albums in folders like 0-9, a-z on the top-level, then artist name, then album-name, so I'd love to have something like this:

Code: Select all

[0-9] A B C D E ... Z (horizontal, line1)
Artist Artist Artist Artist Artist (horizontal, line2, if neccessary, linebreak and another one)
Song1
Song2
...
Songn
I don't get it ;p Does it have to be in a few columns?
yngwin wrote:My first impressions are very good. Nice work!

I've added the live git ebuild to berkano overlay.
Ok, thanks. But the ebuild you added is outdated, please update it (working one is in first post). Ebuilds will be also available in mpd overlay.

And there is version bump, 0.1 -> 0.1.1.

Visible changes:
  • bug with highlighting playlist fixed (it happened rarely, but it did)
    taglib support is now optional (enabled -> tag editor, disabled -> tag info)
    more elements of interface can have different color
Besides some improvements and clean-ups in the source code.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Thu Aug 07, 2008 2:21 pm

Updated my ebuild with taglib useflag. Thanks.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Thu Aug 07, 2008 4:18 pm

Fetching information from the Internet about artist (or maybe even similar artists, eg. from last.fm) sounds interesting. I have no idea how to do this, but I'll do some research ;)
You could have a look at amaroK's source, IIRC the needed functions for this features are written in ruby, so it shouldn't be too hard to understand the principles behind it.
So only playlist and progressbar would be visible? Or only a playlist? But there must be one free line for messages/user input (or at least the latter) anyway.
Well, for my needs, I don't need the "Playing: Honky Tonk - FunkyMonkey"-thingy, so I currently hide it by setting it's color to the terms-background. Same goes for the mode-line on top. Sure, there needs to be some kind of input-line, but the other things could be optional in my eyes.
I don't get it ;p Does it have to be in a few columns?
I'm open for suggestions, but the current navigation is not so "wicked", imho. It could also be two-pane(left/right) with i.e. a tree-view of Folders/Artists on the left and the songs on the right.

What in my eyes would also be awesome, is some kind of a "show-cover". Now, AFAIK there's no real way to show it in the term itself, but there could be a function to open the cover elsewhere, so i.e. press 'c' and the cover shows in feh or something like that.
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Thu Aug 07, 2008 6:57 pm

ph030 wrote:Well, for my needs, I don't need the "Playing: Honky Tonk - FunkyMonkey"-thingy, so I currently hide it by setting it's color to the terms-background. Same goes for the mode-line on top. Sure, there needs to be some kind of input-line, but the other things could be optional in my eyes.
something like this?
ph030 wrote:I'm open for suggestions, but the current navigation is not so "wicked", imho. It could also be two-pane(left/right) with i.e. a tree-view of Folders/Artists on the left and the songs on the right.
I can add another screen with 3 columns: [artists][current artist's albums][current album's songs], Ario has something like that.
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 » Thu Aug 07, 2008 10:12 pm

something like this?
Yep, seems good to me.
I can add another screen with 3 columns: [artists][current artist's albums][current album's songs], Ario has something like that.
Like in this picture, but without the bottom-pane? If so, would be very appreciated by me :)

I don't know, if it would make sense, but doing things with the current playlist would be nice. I.e. export it to a text/html-file, stuff all current songs into an archive(bz2, rar, whatever), create an iso from it, etc.pp. I know some guys, including me, who already use something like that based on a script around mpc, but maybe it could be usefull to the "pure-users" aka "I can't/don't want to write scripts".

I'm really glad, you're pushing this code further, especially since evad seems not to be too active.
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Fri Aug 08, 2008 7:07 pm

ph030 wrote:
something like this?
Yep, seems good to me.
I can add another screen with 3 columns: [artists][current artist's albums][current album's songs], Ario has something like that.
Like in this picture, but without the bottom-pane? If so, would be very appreciated by me :)
both already in git.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Tue Aug 12, 2008 10:45 am

ncmpcpp-0.1.2 released.

changes:
  • parts of interface are now hideable
    new screen - media library
    general optimization - it runs much faster now, especially with big playlist
    new option: crop (deletes all songs from playlist except now playing one)
    other fixes, clean-ups etc.
cheers.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
truc
Advocate
Advocate
User avatar
Posts: 3199
Joined: Mon Jul 25, 2005 9:24 am

  • Quote

Post by truc » Thu Aug 14, 2008 8:44 am

wow, have to try this one!! thank you :)
The End of the Internet!
Top
ocin
Guru
Guru
Posts: 500
Joined: Sun Jan 01, 2006 9:19 pm

  • Quote

Post by ocin » Fri Aug 15, 2008 10:34 pm

would be nice to have the clock screen back :)
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Fri Aug 15, 2008 11:11 pm

Haha, are you from #mpd? ;) I don't think that's good idea. It's redundant.

Btw lyrics screen has been added to git. As live ebuild in overlays is outdated for a while, you can use the one from first post.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
ocin
Guru
Guru
Posts: 500
Joined: Sun Jan 01, 2006 9:19 pm

  • Quote

Post by ocin » Sat Aug 16, 2008 12:14 pm

unK wrote:Haha, are you from #mpd? ;) I don't think that's good idea. It's redundant.
Nah it's not redundant.. :cry: When listening to music I always switch to the clock screen. It looks good (especially with a tiling wm, which I use) and I know what time/date it is. A friend also said this. Please be nice and bring it back (maybe as compile option).
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Sat Aug 16, 2008 3:41 pm

Hmm, ok, if you like it, I can reimplement this.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Sat Aug 16, 2008 8:57 pm

i like it too :)
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
yoshi314
l33t
l33t
User avatar
Posts: 852
Joined: Thu Dec 30, 2004 9:33 pm
Location: PL
Contact:
Contact yoshi314
Website

  • Quote

Post by yoshi314 » Sun Aug 17, 2008 8:02 pm

do you need to use git mpd version with it?

strangely, i cannot connect to mpd (it has default port settings) on localhost, whereas ncmpc works without issues.
~amd64
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Sun Aug 17, 2008 8:50 pm

News: Big change in git. I dropped libmpd dependency. Updated ebuild in first post.
yoshi314 wrote:do you need to use git mpd version with it?

strangely, i cannot connect to mpd (it has default port settings) on localhost, whereas ncmpc works without issues.
No.

Regarding connection, fetch current version from git, it now displays more information, why it can't connect. Also try

Code: Select all

export MPD_HOST=127.0.0.1
before launching ncmpcpp, that's the most common reason why it cannot connect.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Wed Aug 20, 2008 8:40 pm

version 0.2 released.

full list of changes available here.

ebuilds updated.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Wed Aug 27, 2008 8:07 pm

ncmpcpp-0.2.1 released.

changes:
  • * support for composer, performer and disc tag
    * customizable keybindings
    * "add" option added
    * example config files are installed automatically now
    * "repeat one song" mode added (works only if ncmpcpp is running)
    * minor fixes, improvements etc.
ebuilds in mpd overlay updated. enjoy.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
darklegion
Guru
Guru
Posts: 468
Joined: Sun Nov 14, 2004 1:47 am

  • Quote

Post by darklegion » Thu Aug 28, 2008 12:51 am

I have a feature request: I would like to have the ability to select single or multiple files in a playlist, in any order, and then be able to perform functions on them, such as move them to a certain position in the playlist or remove them from the playlist.Preferably, it would work in the same way that cplay does.I believe cplay also allows this in the file select screen, which would also be a nice feature.If this feature already exists, then forget it, but last time I used the official ncmpc and ncmpc-tradiaz you could only select one file at a time and you could only move the file up once or down once for each keypress (and with an awkward keypress to boot)
Top
Post Reply

262 posts
  • Page 1 of 11
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 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