for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader "$i" && lame -m j -h --vbr-new -b 160 audiodump.wav -o "`basename "$i" .wma`.mp3"; done; rm -f audiodump.wav

Advertisements

My BOSE music system

July 7, 2008

I had a dream of owning BOSE music system …. Yesterday, I have finally bought one 🙂 It’s an engineering masterpiece designed for performance, simplicity and eligance.

Opera does not provide QT4 Linux build (9.51 release) from it’s download page. Here is the link from where, it can be downloaded.

Here is the Linux patch to get Opera working with your QT4 native style.

<code>

— opera.orig    2008-07-03 17:08:05.000000000 +0530
+++ opera    2008-07-03 17:08:15.000000000 +0530
@@ -37,7 +37,7 @@ done
case $0 in /*) OPERA_SCRIPT_PATH=$0;; *) OPERA_SCRIPT_PATH=`/bin/pwd`/$0;; esac
export OPERA_SCRIPT_PATH

-[ “$_QTSTYLE_FROM_CMDLINE_” = NO ] && [ -f “$HOME/.qt/qtrc” ] && _OPERA_QTSTYLE=`sed -n ‘s/^style=//p’ $HOME/.qt/qtrc` && [ “$_OPERA_QTSTYLE” ] && set — “$@” -style “$_OPERA_QTSTYLE”
+[ “$_QTSTYLE_FROM_CMDLINE_” = NO ] && [ -f “$HOME/.config/Trolltech.conf” ] && _OPERA_QTSTYLE=`sed -n ‘s/^style=//p’ $HOME/.config/Trolltech.conf` && [ “$_OPERA_QTSTYLE” ] && set — “$@” -style “$_OPERA_QTSTYLE”

OPERA_SYSTEM_UNAME=`uname -s`
export OPERA_SYSTEM_UNAME

</code>