分页: 1 / 1

amoroK播放APE的问题

发表于 : 2006-01-15 1:16
jazzi
I really suggest to convert your apes to the flac format, I used to play them some time ago...

My experience was that amaroK can only play them (with gstreamer), auto-adding them to the playlist doesn't seem to work (I assume that taglib cannot read the tags) - you also have to prepare for an occasional crash ...

@Converting:

I use several scripts for converting, maybe they help you:

"apeTOwav"

代码: 全选

#!/bin/bash
case $1 in
        "")
        echo "File required."
        ;;
        *)
        while [ "$1" != "" ] ; do
                clear
                INFILE="$1"
                OUTFILE=`echo "$1" | sed -r 's/\.[a-zA-Z0-9]{0,}/.wav/'`
                mac "$INFILE" "$OUTFILE" -d
                shift
        done
        ;;
esac

"wavTOflac"

代码: 全选

#!/bin/bash
case $1 in
        "")
        echo "File required."
        ;;
        *)
        echo -n "Remove .wav files ? y/n"
        read -n 1 RMW

        while [ "$1" != "" ] ; do
                clear
                INFILE="$1"
                OUTFILE=`echo "$1" | sed -r 's/\.[a-zA-Z0-9]{0,}/.flac/'`
                flac -V -8 "$INFILE" -o "$OUTFILE"
                metaflac --add-replay-gain "$OUTFILE"
                if [ "$RMW" = "y" ] ; then rm "$INFILE" ; fi
                chmod -x "$OUTFILE"
                shift
        done
        ;;
esac

这些是从这引用过来的http://amarok.kde.org/component/option, ... 3733/#3733