<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://antix.mepis.org/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://antix.mepis.org/index.php?title=Command_Line_Apps&amp;feed=atom&amp;action=history</id>
		<title>Command Line Apps - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://antix.mepis.org/index.php?title=Command_Line_Apps&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://antix.mepis.org/index.php?title=Command_Line_Apps&amp;action=history"/>
		<updated>2013-05-20T01:34:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.1</generator>

	<entry>
		<id>http://antix.mepis.org/index.php?title=Command_Line_Apps&amp;diff=2831&amp;oldid=prev</id>
		<title>Anticapitalista: /* Setting Up mpd/ncmpc Music Player */</title>
		<link rel="alternate" type="text/html" href="http://antix.mepis.org/index.php?title=Command_Line_Apps&amp;diff=2831&amp;oldid=prev"/>
				<updated>2010-02-18T23:09:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Setting Up mpd/ncmpc Music Player&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Image:AntiX-ncmpc.jpg|thumb|antiX + mpd/ncmpc audio player]]&lt;br /&gt;
&lt;br /&gt;
==Setting Up mpd/ncmpc Music Player==&lt;br /&gt;
&lt;br /&gt;
If you want to use a console music player for your music on hard drive the combination of mpd and ncmpc works very well. (ncmpcpp is another cool cli client for mpd installed in antiX-M8.5)&lt;br /&gt;
&lt;br /&gt;
Firstly install mpd, mpc, ncmpc or ncmpcpp.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#apt-get install mpd mpc ncmpc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
mpd is started by default, but it needs to be configured to point to your music directory.&lt;br /&gt;
&lt;br /&gt;
Open rox-filer as root - open terminal &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
antiX@1[~]$ sux&lt;br /&gt;
antiX@1[~]$ password&lt;br /&gt;
antiX@1[~]$ rox&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
navigate to /etc/ folder and open the mpd.conf file. Scroll to this part&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
######################## REQUIRED PATHS ########################&lt;br /&gt;
# You can put symlinks in here, if you like. Make sure that&lt;br /&gt;
# the user that mpd runs as (see the 'user' config parameter)&lt;br /&gt;
# can read the files in this directory.&lt;br /&gt;
music_directory		&amp;quot;/mnt/hda5/Music&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and enter your music directory.&lt;br /&gt;
&lt;br /&gt;
Make sure that this exists&lt;br /&gt;
&amp;lt;pre&amp;gt;######################## OPTIONAL PATHS ########################&lt;br /&gt;
#&lt;br /&gt;
# If specified, MPD will save its current state (playlist,&lt;br /&gt;
# current song, playing/paused, etc.) at exit.  This will be&lt;br /&gt;
# used to restore the session the next time it is run.&lt;br /&gt;
#&lt;br /&gt;
state_file		&amp;quot;/var/lib/mpd/state&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save file and close rox-filer.&lt;br /&gt;
&lt;br /&gt;
Back in the same root terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mpd --create-db&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This may take some time as the daemon creates a database of all your audio files you specified.&lt;br /&gt;
&lt;br /&gt;
Once finished, close the terminal. [You might need to reboot at this point or restart mpd as root in a terminal]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/mpd start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''ncmpc client'''&lt;br /&gt;
&lt;br /&gt;
Open Audio/video&amp;gt;ncmpc.&lt;br /&gt;
&lt;br /&gt;
Hit F3 or 3 and you should see a list of your music folders/files. Open each folder by pressing 'Enter' and to play hit 'Enter' button. &lt;br /&gt;
&lt;br /&gt;
To add to playlist, hit the 'Space' bar. &lt;br /&gt;
&lt;br /&gt;
To play files in playlist navigate to F2 or 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Other cli audio players'''&lt;br /&gt;
&lt;br /&gt;
As from antiX-M8.2, moc (music on console) is installed and set up ready to play.&lt;br /&gt;
&lt;br /&gt;
antiX-M8.5 comes with mpdpss which saves the current position of playlists.&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/mpdpss&lt;br /&gt;
&lt;br /&gt;
[[Command Line Apps moc]]&lt;/div&gt;</summary>
		<author><name>Anticapitalista</name></author>	</entry>

	</feed>