Comment 30 for bug 45026

Revision history for this message
Vanessa Dannenberg (vanessadannenberg) wrote :

Workaround for Maverick:

In Bug #44524, comment #11, a user posted a script he used to fix this issue in Feisty. With some tweaks, this script works in Maverick also. K3B doesn't like normalize-audio including a version number on the first line. The sheer audacity - how dare it do what it was asked. :-)

The fix is to move the version string to somewhere else in the output:

sudo mv /usr/bin/normalize-audio /usr/bin/normalize

sudo nano /usr/bin/normalize-audio

###
#/bin/bash
case "$1" in
        --version)
                normalize --version | sed -e 's/normalize 0.7.7/normalize-audio/g'
                echo "normalize-audio 0.7.7"
                ;;
        *)
                normalize $*
                ;;
esac
###

sudo chmod 755 /usr/bin/normalize-audio

Restart K3B - it should work fine now.

Original source: https://bugs.launchpad.net/ubuntu/+source/k3b/+bug/44524/comments/11