Command Line Apps

Setting Up mpd/ncmpc Music Player
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)

Firstly install mpd, mpc, ncmpc or ncmpcpp.


 * 1) apt-get install mpd mpc ncmpc

mpd is started by default, but it needs to be configured to point to your music directory.

Open rox-filer as root - open terminal antiX@1[~]$ sux antiX@1[~]$ password antiX@1[~]$ rox

navigate to /etc/ folder and open the mpd.conf file. Scroll to this part music_directory		"/mnt/hda5/Music"
 * 1) REQUIRED PATHS ########################
 * 2) You can put symlinks in here, if you like. Make sure that
 * 3) the user that mpd runs as (see the 'user' config parameter)
 * 4) can read the files in this directory.

and enter your music directory.

Make sure that this exists state_file		"/var/lib/mpd/state"
 * 1) OPTIONAL PATHS ########################
 * 2) If specified, MPD will save its current state (playlist,
 * 3) current song, playing/paused, etc.) at exit.  This will be
 * 4) used to restore the session the next time it is run.
 * 1) used to restore the session the next time it is run.

Save file and close rox-filer.

Back in the same root terminal. mpd --create-db This may take some time as the daemon creates a database of all your audio files you specified.

Once finished, close the terminal. [You might need to reboot at this point or restart mpd as root in a terminal] /etc/init.d/mpd start

ncmpc client

Open Audio/video>ncmpc.

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.

To add to playlist, hit the 'Space' bar.

To play files in playlist navigate to F2 or 2.

Other cli audio players

As from antiX-M8.2, moc (music on console) is installed and set up ready to play.

antiX-M8.5 comes with mpdpss which saves the current position of playlists.

http://code.google.com/p/mpdpss

Command Line Apps moc