<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>keke&#039;s blog &#187; mpd</title>
	<atom:link href="http://www.imkeke.net/tag/mpd/feed" rel="self" type="application/rss+xml" />
	<link>http://www.imkeke.net</link>
	<description>design my life...</description>
	<lastBuildDate>Tue, 20 Sep 2011 12:56:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ncmpcpp</title>
		<link>http://www.imkeke.net/linux/ncmpcpp.html</link>
		<comments>http://www.imkeke.net/linux/ncmpcpp.html#comments</comments>
		<pubDate>Mon, 08 Jun 2009 04:58:43 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[ncmpcpp]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=861</guid>
		<description><![CDATA[（稍大） 今天又发现一款非常棒的mpd客户端ncmpcpp，UI类似于ncmpc，使用之后便爱上了，最近喜欢上了命令行上面的东西，而这款客户端就是命令行下面的，全键盘操作，快捷键应有尽有，基本... ]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://lh3.ggpht.com/_low7BsHQpWA/SiyWht-EOJI/AAAAAAAABiM/G-6XGjiTVQY/s800/ncmpcpp.png" alt="" width="300" height="110" />（<a href="http://www.imkeke.net/wp-content/uploads/2009/06/ncmpcpp.png">稍大</a>）</p>
<p>今天又发现一款非常棒的<a href="http://www.imkeke.net/linux/use-mpd-and-mpc.html">mpd</a>客户端<a href="http://unkart.ovh.org/ncmpcpp/">ncmpcpp</a>，UI类似于<a href="http://hem.bredband.net/kaw/ncmpc/index.html">ncmpc</a>，使用之后便爱上了，最近喜欢上了命令行上面的东西，而这款客户端就是命令行下面的，全键盘操作，快捷键应有尽有，基本上每一个按键都对应上了功能，下面说说我个人的使用经验。</p>
<p>1.安装</p>
<blockquote><p>sudo pacman -S ncmpcpp</p></blockquote>
<p>2.启动和使用</p>
<p>在命令行下敲入ncmpcpp即可，前提是MPD服务已经启动。<br />
一看这种界面就是非常友好，播放列表有序的排列下来，下面一条是播放进度和歌曲的相关信息，默认提供了8个界面，分别是：</p>
<blockquote><p>1 F1	帮助<br />
2 F2	播放列表<br />
3 F3	浏览默认音乐库<br />
4 F4	搜索<br />
5 F5	媒体库<br />
6 F6	编辑播放列表<br />
7 F7	编辑标签<br />
0 F10	时钟界面</p></blockquote>
<p>帮助界面列出了所有相应按键的作用，可以随时随地查看。</p>
<p>可以编辑播放列表，按l键查看歌词。</p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2008-10-27 -- <a href="http://www.imkeke.net/linux/use-mpd-and-mpc.html" title="用Mpd+Mpc了">用Mpd+Mpc了</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/linux/ncmpcpp.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>用Mpd+Mpc了</title>
		<link>http://www.imkeke.net/linux/use-mpd-and-mpc.html</link>
		<comments>http://www.imkeke.net/linux/use-mpd-and-mpc.html#comments</comments>
		<pubDate>Mon, 27 Oct 2008 14:59:10 +0000</pubDate>
		<dc:creator>keke</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[archlinux]]></category>
		<category><![CDATA[mpc]]></category>
		<category><![CDATA[mpd]]></category>

		<guid isPermaLink="false">http://www.imkeke.net/?p=667</guid>
		<description><![CDATA[Mpd解释： MPD (Music Player Daemon) 是一个C／S结构的音乐播放器。MPD 作为一个守护程序运行于后台， 管理播放列表和音乐数据库， 占用很少的资源。 Archwiki Mpc解释： 一个命令行下的Mpd客户端。 我... ]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://www.musicpd.org/uploads/images/title.png" alt="" width="329" height="126" /></p>
<p>Mpd解释：</p>
<blockquote><p>MPD (Music Player Daemon) 是一个C／S结构的音乐播放器。MPD 作为一个守护程序运行于后台， 管理播放列表和音乐数据库， 占用很少的资源。 <a href="http://wiki.archlinux.org/index.php/MPD(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)">Archwiki</a></p></blockquote>
<p>Mpc解释：</p>
<blockquote><p>一个命令行下的Mpd客户端。</p></blockquote>
<p>我看上的是资源占用小，随时随地听音乐，这是因为最近我用Exaile启动越来越慢了，所以准备换个玩玩！</p>
<p>记录一下使用过程，刚才把配置搞复杂了，其实简单几部就可以搞定了。</p>
<p>安装：</p>
<blockquote><p>sudo pacman -S mpd mpc</p></blockquote>
<p>生成配置文件：</p>
<blockquote><p>sudo cp /etc/mpd.conf.example /etc/mpd.conf</p></blockquote>
<p>编辑配置文件：</p>
<blockquote><p>playlist_directory              “/home/keke/mpd/playlists”<br />
db_file                         “/home/keke/mpd/mpd.db”<br />
log_file                        “/home/keke/mpd/mpd.log”<br />
error_file                      “/home/keke/mpd/mpd.error”<br />
pid_file                        “/home/keke/mpd/mpd.pid”<br />
state_file                      “/home/keke/mpd/mpdstate”<br />
user                            “keke”<br />
bind_to_address                 “127.0.0.1&#8243;<br />
filesystem_charset              “UTF-8&#8243;<br />
id3v1_encoding                  “gbk”</p></blockquote>
<p>别的基本都不用动，因为我动了启动不起来了，汗自己一个。</p>
<p>接下来就是生成音乐数据库：</p>
<blockquote><p>mpd &#8211;create-db</p></blockquote>
<p>我喜欢把所以音乐添加到播放列表，然后随机听：</p>
<blockquote><p>mpc listall | mpc add</p>
<p>mpc random on</p></blockquote>
<p>最后，绑定一下<a href="http://www.linuxeden.com/html/sysadmin/20080326/52837.html">快捷键</a>，让听音乐更自在！</p>
<h3  class="related_post_title">Related Posts：</h3><ul class="related_post"><li>2008-10-31 -- <a href="http://www.imkeke.net/linux/change-desktop-environment.html" title="换了桌面环境">换了桌面环境</a> (5)</li><li>2008-10-24 -- <a href="http://www.imkeke.net/linux/solve-awn-start.html" title="AWN不能启动的解决">AWN不能启动的解决</a> (2)</li><li>2008-10-10 -- <a href="http://www.imkeke.net/linux/archlinux-install-vsftpd.html" title="Arch下vsftpd的搭建">Arch下vsftpd的搭建</a> (3)</li><li>2008-09-26 -- <a href="http://www.imkeke.net/linux/archlinux-continue.html" title="Arch后续">Arch后续</a> (8)</li><li>2008-09-24 -- <a href="http://www.imkeke.net/linux/start-use-archlinux.html" title="Arch来袭">Arch来袭</a> (11)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.imkeke.net/linux/use-mpd-and-mpc.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

