linux下的命令行播放器moc
安装:直接APT-GET
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 回到终端不关闭
<>音量调节
中文乱码解决
问题不在与MOC 而是MP3的TAG的问题
我的解决方法是
增加了一个config
里面加上了
ReadTags = no
安装:直接APT-GET
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
ENTER
DOWN_arrow
UP_arrow
PAGE_DOWN
PAGE_UP
HOME
END
Q
s
n
b
p or SPACE
f
S
R
X
TAB
l
a
C
A
Y
<
,
.
RIGHT_arrow
LEFT_arrow
h or ?
M
^r ^l
r
H
m
d
g
V
^t
^f
o
G
i
U
^g ^n
^x
]
[
M-1
M-2
M-3
M-4
M-5
M-6
!
@
#
$
%
^
&
*
(
)
UP
DOWN
x
w
u
j
^u
T
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
P
a:将目录中的歌曲加入到右面的播放列表。
d:可将右面播放列表中的歌曲删除
s:设置是否“readtags”,即读取音乐文件的标签数据
g:搜索歌曲
j:调整右面播放列表中的歌曲的顺序
l:关闭/打开播放列表
i : 输入指定目录进入文件夹
o:url
alt+shift+右方向键
按Q 退出小q 回到终端不关闭
<>音量调节
中文乱码解决
问题不在与MOC 而是MP3的TAG的问题
我的解决方法是
增加了一个config
里面加上了
ReadTags = no