#!/bin/bash
function conv_stop {
echo conv stop
}
if test ! -x /usr/bin/convmv ; then
echo will install convmv
exit
fi
if test ! -x /usr/bin/mid3iconv ; then
echo will install python-mutagen
exit
fi
trap "conv_stop;exit" SIGTERM SIGINT SIGHUP
IFS=""
find $1 -type f -iname \*.mp3 |
while read f ;do echo "處理中………"$f""
mid3iconv -e big5 --remove-v1 "$f" &>/dev/null
mid3iconv -e gbk --remove-v1 "$f" &>/dev/null
convmv -r -f big5 -t utf8 --notest "$f" &>/dev/null
convmv -r -f gbk -t utf8 --notest "$f" &>/dev/null
done
conv_stop
標籤
手把手
(50)
Firefox
(27)
中文
(23)
Arch
(19)
疑難雜症
(16)
網路相關
(14)
系統問題
(12)
shell_script
(11)
perfect
(9)
wine相關
(9)
NoteUnix
(8)
Ubuntu
(8)
親愛的
(8)
Vim
(7)
Adobe Flash Player
(6)
grub2
(6)
AudioVideo
(5)
Chromium
(5)
字型
(5)
KDE
(4)
Linux
(4)
Nvidia
(4)
Windows
(4)
zshrc
(4)
Chrome
(3)
Jdownloader
(3)
greasemonkey
(3)
pacman
(3)
shell
(3)
佈景主題
(3)
調教
(3)
Debian
(2)
KDE 系統工具
(2)
Libreoffice
(2)
Samba
(2)
Scriptish
(2)
Tampermonkey
(2)
amixer
(2)
bashrc
(2)
cron
(2)
dropbox
(2)
ffmpeg
(2)
music_tag
(2)
yaourt
(2)
zsh
(2)
亂碼
(2)
企鵝龍/再生龍
(2)
備份
(2)
與暈倒共舞
(2)
NumLock
(1)
Pro/Engineer
(1)
RecoveryData
(1)
clipboard
(1)
iconv
(1)
keychain
(1)
mencoder
(1)
mount
(1)
oh-my-zsh
(1)
p2p
(1)
password
(1)
rc.conf
(1)
ssh
(1)
systemctl
(1)
user.js
(1)
virtualbox
(1)
平凡生活
(1)
快閃600秒
(1)
經驗轉移
(1)
音效
(1)
2012-09-28
【新版】轉換mp3標籤使撥放軟體能正常顯示
比起之前寫的舊版多了兩個功能,其一:加入了trap按Ctrl+C時完全關閉程式,其二:加上了convmv一併轉換mp3檔案名稱成為utf-8。
2012-09-27
定時調整音量
訂閱:
文章 (Atom)