Re: Console based MPD client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim here.

> In ncmpc I can choose one artist, and brows through all the
> albums. Is there an equivalent command in mpc to list only the
> albums from one artist? 

Sure.  The "mpc search" command spits out the filename, but you can
use the "--format"/"-f" parameter to specify the field/format you
want, so you can specify that you just want the album from each one.
It will print one for each matching MP3 file, but that output can be
sent to the "sort" command and made unique:

  mpc -f '%album%' search artist satriani | sort -u

gives me just the album-names for all my Joe Satriani music, each
only appearing once.

For better or worse, it finds the artist in the ID3 data "artist"
information, so I happen to have one track that's on a Stu Hamm album
where Joe Satriani was playing and ended up in the ID3 data, so it
does return that bootleg recording in addition to the normal studio
albums by Satriani.  But I kinda prefer it that way.

-tim



_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list



[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]