博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux下的命令行播放器moc
阅读量:4302 次
发布时间:2019-05-27

本文共 5626 字,大约阅读时间需要 18 分钟。

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 : 输入指定目录进入文件夹

ourl

altshift+右方向键 清空播放列表

Q 退出q 回到终端不关闭

<>音量调节

中文乱码解决

问题不在与MOC 而是MP3TAG的问题

我的解决方法是

增加了一个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”你会看到一下使用说明
             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
             Quit
             Stop
             Play next file
             Play previous file
p or SPACE        Pause
             Toggle ReadTags option
             Toggle Shuffle
             Toggle repeat
             Toggle AutoNext option
TAB            Switch between playlist and file list
           Switch between layouts
          Add a file/directory to the playlist
      Clear the playlist
       Add a directory recursively to the playlist
       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
              Hide error/informative message
^r ^l               Refresh the screen
                  Reread directory content
            Toggle ShowHiddenFiles option
             Go to the music directory (requires an entry in the config)
               Delete an item from the playlist
                 / Search the menu.
                Save the playlist
^t           Toggle ShowTime option
^f                Toggle ShowFormat option
             Play from the URL
         Go to a directory where the currently played file is
                 Go to a directory
          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)
          Toggles the mixer channel
             Toggles the software-mixer
         Move playlist item up
          Move playlist item down
^u             Add a URL to the playlist using entry
             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
               Toggle displaying full paths in the playlist
a
将目录中的歌曲加入到右面的播放列表。
d
:可将右面播放列表中的歌曲删除
s
:设置是否readtags”,即读取音乐文件的标签数据
g
:搜索歌曲
j
:调整右面播放列表中的歌曲的顺序
l
:关闭/打开播放列表
i :
 输入指定目录进入文件夹
o
url
alt
shift+右方向键  清空播放列表
Q 退出q 回到终端不关闭
<>
音量调节
中文乱码解决
问题不在与MOC 而是MP3TAG的问题
我的解决方法是
增加了一个config
里面加上了
ReadTags = no

转载地址:http://enows.baihongyu.com/

你可能感兴趣的文章
C++框架_之Qt的信号和槽的详解
查看>>
QT信号和槽
查看>>
QT学习——Tcp客户端通信(本地回环)
查看>>
Qt下TCP编程
查看>>
客户端与服务端的TCP通信实现(Qt)
查看>>
QT之TCP通信
查看>>
QT 之 TCP/IP 服务器和客户端(一)
查看>>
qt中的tcp
查看>>
基于MFC的socket编程(异步非阻塞通信)
查看>>
异步SOCKET与同步SOCKET
查看>>
孙鑫MFC笔记之十四--多线程同步与异步套接字编程
查看>>
Qt网络程序:基于TCP的服务器、客户端实例
查看>>
TCP同步和异步连接_学习笔记
查看>>
MFC四种同步手段
查看>>
c++中CreateEvent函数解析(1)
查看>>
MFC匿名管道原理详解、函数总结、调用实例(用MFC的匿名管道读取CMD输出内容)(C++语言)
查看>>
C++匿名管道详解及简单案例(基于VS2013)
查看>>
C#与USB设备通信
查看>>
CyUSB.dll的调用经验介绍
查看>>
MFC菜单栏(CMenu)控件
查看>>