changeset 6 | f0c87fb62b66 |
parent 5 | 981be8773be7 |
child 7 | 1928f1a1ee5b |
--- a/scanscript.sh Sat Feb 12 15:26:27 2011 +0300 +++ b/scanscript.sh Sat Feb 12 17:03:08 2011 +0300 @@ -1,5 +1,10 @@ #!/bin/sh PROGDIR=$(dirname $(readlink -f $0)) find "$1" -type f| while read fname; do - $PROGDIR/extractors/ext-taglib "$fname" + EXT="${fname/*./}" + if [ "$EXT" == "mp3" ];then + $PROGDIR/extractors/ext-mpg123 "$fname" + else + true#$PROGDIR/extractors/ext-taglib "$fname" + fi done