第一步:将所有要播放的多媒体文件放在~/music/目录下;
第二步:进入music目录,执行ls > music.lst,则在music目录下生成一个名为music.lst的列表文件,并把music目录下的文件名写入到music.lst文件中;
第三步:运行mplayer -playlist music.lst即可实现列表播放
值得注意的是第二步中,生成的多媒体列表文件music.lst一定要与要播放的多媒体文件保存在同一个目录中,否则mplayer播放时会有找不到文件的错误提示。
如果要删除一些不想听的多媒体文件,则用编辑器打开music.lst列表文件,删除对应的文件名即可,保存时要注意一行一个文件名,不能有空行。
如果要增加文件,执行命令echo filename >> music.lst即可,即可将新增的文件名追加在music.lst列表文件末。
2015年9月29日星期二
在shell命令行下让mplayer循环播放和播放列表
openwrt 6300V2 USB无法显示的问题
lsusb and fdisk -l There's a method to turn USB power on which is probably not persistent. I hope this will help you. echo 0 > /sys/c...
-
nginx报错nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 仔细参考nginx中文文档发现,发送信号USR2时,自动启动新的可执行文件,再手动启动的话就会报错 本质上也算是一种地址冲...
-
The Vps is too old to get a newer OS from the provider. create /etc/apt/sources.list.d/jessie-backports.list, and fill in the following line...