Use Mpd + MCM in ArchLinux

Source: Internet
Author: User
Article Title: Use Mpd + MCM in ArchLinux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Mpd explanation:

MPD (Music Player Daemon) is a C/S-structured Music Player. As a daemon, MPD runs on the background and manages the playlist and music database, occupying a small amount of resources.

Interpretation of the Mpc:

A command line Mpd client.

I'm interested in low resource usage and listening to music anytime and anywhere. This is because I 've been getting slower and slower to start with Exaile recently, so I'm ready to change it!

Record the usage process and make the configuration complicated just now. In fact, it can be done simply by a few steps.


Installation:

Sudo pacman-S mpd MCM

Generate the configuration file:

Sudo cp/etc/mpd. conf. example/etc/mpd. conf

Edit the configuration file:

Playlist_directory "/home/keke/mpd/playlists"
Db_file "/home/keke/mpd. db"
Log_file "/home/keke/mpd. log"
Error_file "/home/keke/mpd. error"
Pid_file "/home/keke/mpd. pid"
State_file "/home/keke/mpd/mpdstate"
User "keke"
Bind_to_address "127.0.0.1 ″
Filesystem_charset UTF-8 ″
Id3v1_encoding "gbk"

I don't need to do anything else, because I cannot start it, and I can't do it myself.

The next step is to generate a music database:

Mpd? Create-db

I like to add the music to the playlist and then listen randomly:

 

Nmlistall | nmadd

Nmrandom on

Finally, bind the shortcut key to make music more comfortable!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.