<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Rpi_Music_Player_Daemon&amp;feed=atom&amp;action=history</id>
		<title>Rpi Music Player Daemon - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Rpi_Music_Player_Daemon&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Rpi_Music_Player_Daemon&amp;action=history"/>
		<updated>2013-05-21T19:44:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Rpi_Music_Player_Daemon&amp;diff=141860&amp;oldid=prev</id>
		<title>Ghans at 19:11, 18 June 2012</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Rpi_Music_Player_Daemon&amp;diff=141860&amp;oldid=prev"/>
				<updated>2012-06-18T19:11:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:11, 18 June 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:RaspberryPi]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki Music Player Daemon] (MPD) is a flexible, powerful, server-side application for playing music.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki Music Player Daemon] (MPD) is a flexible, powerful, server-side application for playing music.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:131588:newid:141860 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ghans</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Rpi_Music_Player_Daemon&amp;diff=131588&amp;oldid=prev</id>
		<title>Brenton: Created article</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Rpi_Music_Player_Daemon&amp;diff=131588&amp;oldid=prev"/>
				<updated>2012-05-24T10:03:52Z</updated>
		
		<summary type="html">&lt;p&gt;Created article&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
[http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki Music Player Daemon] (MPD) is a flexible, powerful, server-side application for playing music.&lt;br /&gt;
==Installation==&lt;br /&gt;
To install MPD on the Debian release for Raspberry Pi you will need the &amp;lt;code&amp;gt;mpd&amp;lt;/code&amp;gt; package. You may also want to install &amp;lt;code&amp;gt;mpc&amp;lt;/code&amp;gt; (a very simple console based MPD client, useful for debugging) and &amp;lt;code&amp;gt;ncmpc&amp;lt;/code&amp;gt; (another console based client, but more useful for playing music).&lt;br /&gt;
===Running as a Normal User===&lt;br /&gt;
The developers of MPD recommend that you do not run the server as &amp;quot;root&amp;quot;. To run the server as the &amp;quot;pi&amp;quot; user:&lt;br /&gt;
&lt;br /&gt;
Stop MPD with:&lt;br /&gt;
:&amp;lt;code&amp;gt;sudo service mpd stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files that MPD needs to access are owned by the &amp;quot;audio&amp;quot; group, and the &amp;quot;pi&amp;quot; user is a member of the audio group, but the files are not set to be writeable by the group. Make the the files group writeable with:&lt;br /&gt;
:&amp;lt;code&amp;gt;sudo chmod -R g+w /var/lib/mpd&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;sudo chmod -R g+w /var/run/mpd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will also need to remove the log file created by &amp;quot;root&amp;quot; when MPD was first started:&lt;br /&gt;
:&amp;lt;code&amp;gt;sudo rm /var/log/mpd.log&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And now restart MPD:&lt;br /&gt;
:&amp;lt;code&amp;gt;sudo service mpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
===Loading Music===&lt;br /&gt;
The default location for music is &amp;lt;code&amp;gt;/var/lib/mpd/music&amp;lt;/code&amp;gt;. You can fill this directory with music, replace it with a symlink or change the location in the configuration file. To update the MPD database run &amp;lt;code&amp;gt;mpc update&amp;lt;/code&amp;gt; on the MPD server or initiate the update with another client.&lt;br /&gt;
==Configuration==&lt;br /&gt;
You can make changes to the configuration by editing &amp;lt;code&amp;gt;/etc/mpd.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
===Remote Access===&lt;br /&gt;
To allow connections from other devices comment out the line:&lt;br /&gt;
:&amp;lt;code&amp;gt;bind_to_address &amp;quot;localhost&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
===Volume Control===&lt;br /&gt;
If sound works but you don't have volume control you need to change the &amp;lt;code&amp;gt;mixer_control&amp;lt;/code&amp;gt; setting. Find the name of the mixer you want with &amp;lt;code&amp;gt;alsamixer&amp;lt;/code&amp;gt; and enter it into the &amp;lt;code&amp;gt;mixer_control&amp;lt;/code&amp;gt; setting in the &amp;lt;code&amp;gt;audio_output&amp;lt;/code&amp;gt; section you are using.&lt;br /&gt;
&lt;br /&gt;
For example; to control the main volume on a [[RPi_VerifiedPeripherals#USB Sound Cards|Sound Blaster Play!]] you would use:&lt;br /&gt;
:&amp;lt;code&amp;gt;mixer_control &amp;quot;Speaker&amp;quot;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Brenton</name></author>	</entry>

	</feed>