Command Line Apps

From antiX

Jump to: navigation, search
antiX + mpd/ncmpc audio player

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.

#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

######################## REQUIRED PATHS ########################
# You can put symlinks in here, if you like. Make sure that
# the user that mpd runs as (see the 'user' config parameter)
# can read the files in this directory.
music_directory		"/mnt/hda5/Music"

and enter your music directory.

Make sure that this exists

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

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

Personal tools