3 if [ "$1" = "koi2win" ]; then
5 elif [ "$1" = "win2koi" ]; then
7 elif [ "$1" = "koi2utf" ]; then
9 elif [ "$1" = "koi2utf8" ]; then
11 elif [ "$1" = "win2utf" ]; then
13 elif [ "$1" = "win2utf8" ]; then
16 echo "Usage: $0 koi2win|win2koi|koi2utf|win2utf"
20 . "`dirname \"$0\"`"/../../set-path
24 cd "$2" || exit 1 # or just do it in current directory
28 find . -name PlayList.m3u -print |
30 dir="`dirname \"$path\"`"
32 recode-tags-list.sh PlayList.m3u $direction
33 cd "$start_dir" || exit 1