Ceci est une ancienne révision du document !
Titre : CMUS Music Player
I've been using Ubuntu for a few years and, thanks in part to Lucas' column Command and Conquer, I've become a fan of the command line.
A couple of months ago, I decided to try to find a good console-based music program. Rhythmbox comes installed on Ubuntu 12.04 and it is a fine program. It reminds me a lot of iTunes, unfortunately I really don't like iTunes. It just feels so big and bloated. I don't really care about seeing the album covers of my music collection. I wanted something that is small, fast, and yet still easy to use. This is for playing music after all, it should be enjoyable, not a chore.
A Google search took me to a post somewhere about cmus. It sounded like just what I was looking for. I checked the Ubuntu repository and there it was, cmus version 2.4.3, as well as the cmus ffmpeg-plugin 2.4.3. “That was easy!” I thought as the program installed.
After I installed the program, I had to add music to the library. This is easy enough. Simply type a for add and then specify the path to your music collection. Cmus will then scan the target directory and add everything in that directory. As you can see from the screenshot, it picks up the artist, album and track names, the year the song was recorded/produced, and the length of the song.
You can use the arrow keys to scroll through the list of artists. If you hit the space-bar, an artist's entry will expand to show a list of albums by that artist. When you highlight an album, the tracks on that album appear in the main window. Pressing the tab key will move you over to the main window where you can scroll through the list of tracks. Pressing enter will start a track.
Pressing c will pause a track. Pressing q will give you the option of quitting cmus by pressing y or n. Pressing p will add a track to the playlist while e adds a track to the queue. I usually just select an album and press enter to start the first song. The rest of the songs on the album are played in sequence.
Typing / will allow you to search for an artist, album or song. The [ ] keys increase the volume and the { } keys decrease the volume. Typing cmus –plugins in the terminal will bring up a list of all the different types of files cmus should be able to play. The list is quite long and the most common formats are on the list (.aac, .mp3, flac, wma). I said should, because, even though ffmpeg is shown in my list of plugins and below ffmpeg .wma is written as a supported format, I cannot play the few Windows Media Audio files I have in cmus. A Google search did reveal that a bug report has been filed about this problem.
I usually use the default view that appears when the program launches. The number keys one through seven will cycle through different views. One takes you to the default layout. Two brings up a listing of every song in your library.
Three and four open the playlist and queue views respectively, while five opens the file browser. Pressing the number six shows a list of library filters, and pressing seven shows all of the settings and keybindings for cmus.
All in all, I am very happy with the program. It does what I want, is quick, lightweight, and was simple to set up.