4 if [ "$2" = "koi2win" ]; then
6 elif [ "$2" = "win2koi" ]; then
8 elif [ "$2" = "koi2utf" ]; then
10 elif [ "$2" = "koi2utf8" ]; then
12 elif [ "$2" = "win2utf" ]; then
14 elif [ "$2" = "win2utf8" ]; then
17 echo "Usage: $0 playlist koi2win|win2koi|koi2utf|win2utf"
21 if [ "`wc -c \"$1\" | awk '{print $1}'`" -ge 10000 ]; then
22 echo "The file \`$1' is too big, probably not a playlist but mp3?"
26 . "`dirname \"$0\"`"/../../set-path
29 recode-tags.sh . $direction || exit 1
30 #if [ "$direction" = "koi2win" ]; then
32 #elif [ "$direction" = "win2koi" ]; then