Compare commits
No commits in common. "master" and "0.3" have entirely different histories.
6
bpm-tag
6
bpm-tag
|
|
@ -93,9 +93,6 @@ case "$FILE" in
|
||||||
*.ogg)
|
*.ogg)
|
||||||
BPM=`vorbiscomment "$FILE" | sed -n 's/^BPM=//p'`
|
BPM=`vorbiscomment "$FILE" | sed -n 's/^BPM=//p'`
|
||||||
;;
|
;;
|
||||||
*.m4a)
|
|
||||||
BPM=`mp4info "$FILE" | sed -n 's/^\s*BPM://p'`
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
echo "$FILE: file extension not known" >&2
|
echo "$FILE: file extension not known" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -132,9 +129,6 @@ case "$FILE" in
|
||||||
*.ogg)
|
*.ogg)
|
||||||
vorbiscomment -at "BPM=$BPM" "$FILE"
|
vorbiscomment -at "BPM=$BPM" "$FILE"
|
||||||
;;
|
;;
|
||||||
*.m4a)
|
|
||||||
mp4tags -tempo "$BPM" "$FILE"
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
echo "$FILE: don't know how to tag this type of file" >&2
|
echo "$FILE: don't know how to tag this type of file" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue