Mercurial > audlegacy
diff src/audtool/examples/np.sh @ 2313:3149d4b1a9a9 trunk
[svn] - objective-make autodepend fixes
- move all sourcecode into src/ and adjust Makefiles accordingly
author | nenolod |
---|---|
date | Fri, 12 Jan 2007 11:43:40 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/audtool/examples/np.sh Fri Jan 12 11:43:40 2007 -0800 @@ -0,0 +1,7 @@ +#!/bin/sh +SONGTITLE=$(audtool current-song) +SONGELAPSED=$(audtool current-song-output-length) +SONGLEN=$(audtool current-song-length) +MIME=$(file -ib "`audtool current-song-filename`") + +echo "np: $SONGTITLE [$MIME] ($SONGELAPSED/$SONGLEN)"