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"
23 . "`dirname \"$0\"`"/../../set-path
26 if [ "$direction" = "koi2win" ]; then
29 elif [ "$direction" = "win2koi" ]; then
32 elif [ "$direction" = "koi2utf" ]; then
35 elif [ "$direction" = "win2utf" ]; then
40 exec xargs -r -d\\n recode-id3.py -f $enc_from -t $enc_to < PlayList.m3u