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


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Aug 01, 2008 11:11 pm    Post subject: ncmpcpp - improved ncmpc with some new features Reply with quote

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.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc


Last edited by unK on Fri Sep 05, 2008 3:27 am; edited 8 times in total
Back to top
View user's profile Send private message
Zaunmayrchris
n00b
n00b


Joined: 03 Aug 2008
Posts: 2

PostPosted: Sun Aug 03, 2008 12:58 pm    Post subject: ebuild errors Reply with quote

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

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
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sun Aug 03, 2008 9:32 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Zaunmayrchris
n00b
n00b


Joined: 03 Aug 2008
Posts: 2

PostPosted: Mon Aug 04, 2008 7:59 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Mon Aug 04, 2008 9:27 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Wed Aug 06, 2008 1:13 am    Post subject: Reply with quote

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:
[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
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Thu Aug 07, 2008 4:09 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Aug 07, 2008 9:15 am    Post subject: Reply with quote

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:
[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
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Thu Aug 07, 2008 2:21 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Thu Aug 07, 2008 4:18 pm    Post subject: Reply with quote

Quote:
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.

Quote:
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.

Quote:
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.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Aug 07, 2008 6:57 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Thu Aug 07, 2008 10:12 pm    Post subject: Reply with quote

Quote:
something like this?
Yep, seems good to me.

Quote:
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.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Aug 08, 2008 7:07 pm    Post subject: Reply with quote

ph030 wrote:
Quote:
something like this?
Yep, seems good to me.

Quote:
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
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Tue Aug 12, 2008 10:45 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Aug 14, 2008 8:44 am    Post subject: Reply with quote

wow, have to try this one!! thank you :)
_________________
The End of the Internet!
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Aug 15, 2008 10:34 pm    Post subject: Reply with quote

would be nice to have the clock screen back :)
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Fri Aug 15, 2008 11:11 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Sat Aug 16, 2008 12:14 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sat Aug 16, 2008 3:41 pm    Post subject: Reply with quote

Hmm, ok, if you like it, I can reimplement this.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sat Aug 16, 2008 8:57 pm    Post subject: Reply with quote

i like it too :)
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Sun Aug 17, 2008 8:02 pm    Post subject: Reply with quote

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
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sun Aug 17, 2008 8:50 pm    Post subject: Reply with quote

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:
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
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed Aug 20, 2008 8:40 pm    Post subject: Reply with quote

version 0.2 released.

full list of changes available here.

ebuilds updated.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed Aug 27, 2008 8:07 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Thu Aug 28, 2008 12:51 am    Post subject: Reply with quote

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)
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 1, 2, 3 ... 9, 10, 11  Next
Page 1 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