author | Stiletto <blasux@blasux.ru> |
Sat, 18 Jun 2011 16:11:12 +0400 | |
changeset 7 | 1928f1a1ee5b |
parent 6 | f0c87fb62b66 |
child 9 | ae87469781f2 |
permissions | -rwxr-xr-x |
3 | 1 |
#!/bin/sh |
2 |
PROGDIR=$(dirname $(readlink -f $0)) |
|
3 |
find "$1" -type f| while read fname; do |
|
6
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
5
diff
changeset
|
4 |
EXT="${fname/*./}" |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
5
diff
changeset
|
5 |
if [ "$EXT" == "mp3" ];then |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
5
diff
changeset
|
6 |
$PROGDIR/extractors/ext-mpg123 "$fname" |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
5
diff
changeset
|
7 |
else |
7 | 8 |
true #$PROGDIR/extractors/ext-taglib "$fname" |
6
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
5
diff
changeset
|
9 |
fi |
3 | 10 |
done |