linux下的命令列播放器moc

舊年不在666發表於2020-10-19

安裝

sudo apt-get install moc
  • 安裝完成後在終端用命令mocp(注意不是命令moc啊)開啟moc播放器。

使用

  • 預設是沒有配置檔案的,/usr/share/doc/moc/examples/config.example.gz拷貝到~/.moc/中,然後config.example.gz解壓,再重新命名為config,現在可以開啟config進行一些配置了,裡面的英文都很簡單,看著提示把想要的功能開啟就行了。
  • 開啟moc後輸入“h”你會看到一下使用說明:
q Detach MOC from the server
ENTER Start playing files (from this file) or go to directory
DOWN_arrow Move down in the menu
UP_arrow 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 or SPACE Pause
f Toggle ReadTags option
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/directory to the playlist
C Clear the playlist
A Add a directory recursively to the playlist
Y Remove all playlist entries that point to non-existent files
< Decrease volume by 1% > Increase volume by 1%
, Decrease volume by 5%
. Increase volume by 5%
RIGHT_arrow Seek forward by n-s
LEFT_arrow Seek backward by n-s
h or ? Show the help screen
M Hide error/informative message
^r ^l Refresh the screen
r Reread directory content
H Toggle ShowHiddenFiles option
m Go to the music directory (requires an entry in the config)
d Delete an item from the playlist
g / Search the menu.
V Save the playlist
^t Toggle ShowTime option
^f Toggle ShowFormat option
o Play from the URL
G Go to a directory where the currently played file is
i Go to a directory
U Go to ‘..’
^g ^n Find the next matching item
^x ESCAPE Exit from an entry
] Silent seek forward by 5s
[ Silent seek backward by 5s
M-1 Set volume to 10%
M-2 Set volume to 20%
M-3 Set volume to 30%
M-4 Set volume to 40%
M-5 Set volume to 50%
M-6 Set volume to 60%
! Go to a fast dir 1
@ Go to a fast dir 2
# Go to a fast dir 3
$ Go to a fast dir 4
% Go to a fast dir 5
^ Go to a fast dir 6
& Go to a fast dir 7
* Go to a fast dir 8
( Go to a fast dir 9
) Go to a fast dir 10
UP Go to the previous entry in the history (entry)
DOWN Go to the next entry in the history (entry)
x Toggles the mixer channel
w Toggles the software-mixer
u Move playlist item up
j Move playlist item down
^u Add a URL to the playlist using entry
T Switch to the theme selection menu
F1 Execute ExecCommand1
F2 Execute ExecCommand2
F3 Execute ExecCommand3
F4 Execute ExecCommand4
F5 Execute ExecCommand5
F6 Execute ExecCommand6
F7 Execute ExecCommand7
F8 Execute ExecCommand8
F9 Execute ExecCommand9
F10 Execute ExecCommand10
P Toggle displaying full paths in the playlist
a:將目錄中的歌曲加入到右面的播放列表。
d:可將右面播放列表中的歌曲刪除
s:設定是否“readtags”,即讀取音樂檔案的標籤資料
g:搜尋歌曲
j:調整右面播放列表中的歌曲的順序
l:關閉/開啟播放列表
i : 輸入指定目錄進入資料夾
o:url
alt+shift+右方向鍵 :清空播放列表
按Q 退出小q 回到終端不關閉
<>音量調節

相關文章