cmmusic:小巧而实用的mplayer音乐播放前端

Jolly Wing posted @ 2015年11月08日 20:59 in Linux/Unix with tags linux app Multimedia , 1610 阅读

1 cmmusic:小巧而实用的mplayer音乐播放前端

author jollywing(jollywing@foxmail.com)
create 2011-03-10
update 2011-03-10

1.1 为啥用cmmusic

mplayer是元老级的媒体播放器,到现在依然强大,因为它的“全能”, 一直拥有大量的用户。 但我们主要用mplayer看电影,其实用mplayer播放音乐也很不错: 占用资源很少,而且支持的格式非常多。

如果用xmms2或者mpd听音乐,如果想听wma什么的还要装额外的解码器。 而只要装了mplayer,看电影和听音乐只用它就够了。 无奈,mplayer没有个好用的前端。 不过,现在,小巧的cmmusic来了,为mplayer提供了一个简单实用的 音乐播放前端。

作者是中国人,可以从 这个网页 看到更多的信息。

cmmusic是用ncurse库的终端下运行的程序。 虽然界面不华丽,但功能全面,很实用。

1.2 安装cmmusic

现在,cmmusic似乎还没加到各发行版的仓库中。 可以从 https://sourceforge.net/projects/cmmusic/ 下载源码编译安装。

因为依赖ncurse,所以编译前请安装ncurse的开发库。 最好装libncursew,支持宽字符,这样能支持中文显示。

sudo apt-get install libncursew5-dev

应该差不多了,如果提示缺什么库,就安装libxxx-dev吧。 然后使出程咬金的三板斧:

./configure
make
sudo make install

安装的文件如下:

  • cmmusic 核心程序,位于 /usr/local/bin
  • cmmusicx 其实是一个脚本,自动打开一个终端运行cmmusic, 位于 /usr/local/bin
  • cmmusic.xpm 用于在菜单中显示的图标,位于 /usr/local/share/pixmaps
  • cmmusic.desktop 程序菜单中显示的项目,位于 usr/local/share/applications

1.3 使用

  • l 载入或存储播放列表lst文件,也用于指定添加音乐文件的目录
  • \+ 添加音乐文件,会给出刚才用 l 指定的目录下的文件列表, 空格选中,按回车添加到播放列表
  • ­ 移除播放列表中的项目。
  • ] 增加音量
  • [ 减小音量
  • , 上一首
  • . 下一首
  • p 播放/暂停
  • s 停止
  • m 静音
  • q 退出
  • d 切换播放模式。
    • SING 表示只播放一遍当前选中的文件
    • SILP 重复播放当前选中的文件
    • MULT 顺序播放一遍当前列表中的文件
    • MULP 重复按顺序播放列表中的文件
    • RAND 乱序播放列表中的文件
  • r 设置歌词(只支持lrc文件)搜索目录。 默认lrc为GBK,如果为UTF8,请使用选项``-lrc UTF-8``

另外,cmmusic同样可以用于播放电影,有播放列表,看电视剧很方便。

Author: Jiqing Wu

Created: 2015-11-09 Mon 15:56

Validate

 

Avatar_small
deep cleaning servic 说:
2019年9月13日 17:25

Your experience in addition to superb excellent of do the job have manufactured us renowned within both equally commercial in addition to domestic promotes. We specialise in various aspects connected with floor repair like limestone clean-up, marble clean-up and polishing, terracotta clean-up, terrazzo clean up, marble clean up etc.

Avatar_small
maids in dubai 说:
2021年9月01日 20:33

Based on the area where you reside and regional regulations you must be able to start your dream house based clean-up business which enables it to thus stay clear of renting business oriented premises. Intended for larger employees though, requiring storage devices for substantial volumes connected with chemicals in addition to equipment subsequently commercial areas or storage devices facilities can quickly become required. Cleaning effectively seriously isn't always seeing that easy the way it seems. The obvious way to get started will be to look for most opportunities to know from encountered cleaners like work experience or maybe a mentoring layout.

Avatar_small
cleaning company dub 说:
2022年3月27日 21:51

Moving to somewhat of a new set? Shifting is invariably a rather busy job which will none amongst us wants to fool around with. But sometimes you can get not all other options though to get rid of. Your project may interest a transfer or simply you are interested in maneuver to somewhat of a much large home utilizing your family. There tend to be certain things that you may possibly consider while getting into a unique place. One of the more important things is definitely the cleaning belonging to the area.

Avatar_small
Gujarat Board 3rd Cl 说:
2022年9月04日 00:27

Gujarat Board Model Paper 2023 Class 3 Pdf Download with Answers for Gujarati Medium, English Medium, Hindi Medium, Urdu Medium & Students for Small Answers, Long Answer, Very Long Answer Questions, and Essay Type Questions to Term1 & Term2 Exams at official website. Gujarat Board 3rd Class Model Paper New Exam Scheme or Question Pattern for Sammittive Assignment Exams (SA1 & SA2): Very Long Answer (VLA), Long Answer (LA), Small Answer (SA), Very Small Answer (VSA), Single Answer, Multiple Choice and etc.

Avatar_small
monthly cleaning ser 说:
2023年8月14日 21:22

Several organizations will offer you a free of charge meeting prior to enlisting in order to empower you to definitely investigate. Amid a totally free interview, an agent go to your house to appraise the work. This really is your possiblity to convey your own desires using the firm. You're going to get an assessment for administrations because of the job talked regarding.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter