Hardware Reference
In-Depth Information
To get started, just enter the console—or a terminal window if you're using a desktop
environment—and type the following:
mocp
he standard mocp interface is split into two panes (see Figure 7-1). he left pane is a ile
browser, which allows you to look for music to play. he cursor keys scroll up and down the list,
while the Enter key starts playback from the currently highlighted song. If you press Enter on a
directory name, the browser will enter that directory, while pressing it at the ../ entry at the
top of the list goes back one directory level. he right pane shows the current playlist.
Figure 7-1:
he standard
interface of the
mocp console-
based music
player
Where the power of mocp becomes apparent is when you exit the application by pressing the Q
key. If mocp is in the middle of playing back music, it will continue to do so even as you use the
console or terminal window for other tasks. Running the mocp command again will restore the
interface, allowing you to change songs, pause or stop playback. You can also control mocp directly
from the terminal, without having to use the interface. Running the mocp command with lags—
the options that follow a command, preixed with a hyphen character—allow you to start, stop,
pause, skip and otherwise change the playback without having to go into the software.
Search WWH ::




Custom Search