Mercurial > audlegacy
diff src/audtool/examples/infoline.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/infoline.sh Fri Jan 12 11:43:40 2007 -0800 @@ -0,0 +1,10 @@ +#!/bin/sh +UNUSED=0 +while [ $UNUSED -lt 1 ]; do + PLAYTIME=$(audtool current-song-output-length) + SONGTITLE=$(audtool current-song) + SONGLEN=$(audtool current-song-length) + echo -n "[>] $PLAYTIME $SONGTITLE ($SONGLEN) " + sleep 1 + printf "\r" +done