Ubuntu Sverige

Multimedia/MOC

Ubuntu Sverige

Hoppa till: navigering, sök
Guiden testad på: Ubuntu 8.04


Music On Console (MOC)


Innehåll


Moc är en terminalbaserad musikspelare. Den kommer med en "server" (moc) del och en frontend (mocp). Detta gör att du kan stänga terminalfönstret eller till och med X medans moc fortsätter spela.

[redigera] Installation

sudo apt-get install moc


[redigera] Konfiguration

Börja med att kopiera exempelfilen till din hemma-katalog.

cp /usr/share/moc/config.example ~/.moc/config

Konfigurationsfilen nnehåller utförliga kommentarer till samtliga alternativ. Det du bör ställa in är:

  • MusicDir = "Din musik katalog"
  • AutoNext = yes


[redigera] Användning

Öppna en terminal och skriv mocp. Då körs moc igång samtidigt som mocp (moc-player). Här följer en kort lista på kommandon som används för att styra mocp. En komplett lista får du genom att trycka h.

q              Detach MOC from the server
ENTER          Start playing files (from this file) or go to directory
DOWN           Move down in the menu
UP             Move up in the menu
PAGE_DOWN      Move one page down
PAGE_UP        Move one page up
HOME           Move to the first item in the menu
END            Move to the last item in the menu
Q              Quit
s              Stop
n              Play next file
b              Play previous file
p SPACE        Pause
S              Toggle Shuffle
R              Toggle repeat
X              Toggle AutoNext option
TAB            Switch between playlist and file list
l              Switch between layouts
a              Add a file to the playlist
C              Clear the playlist
A              Add a directory recursively to the playlist
<              Decrease volume by 1%
>              Increase volume by 1%
h ?            Show the help screen
d              Delete an item from the playlist
g /            Search the menu.
V              Save the playlist
G              Go to a directory where the currently played file is


[redigera] Länkar

moc.daper.net

Den här artikeln är hämtad från http://ubuntu-se.org/wiki/Multimedia/MOC
Personliga verktyg