Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
2312:e1a5a66fb9cc | 2313:3149d4b1a9a9 |
---|---|
1 #!/bin/sh | |
2 UNUSED=0 | |
3 while [ $UNUSED -lt 1 ]; do | |
4 PLAYTIME=$(audtool current-song-output-length) | |
5 SONGTITLE=$(audtool current-song) | |
6 SONGLEN=$(audtool current-song-length) | |
7 echo -n "[>] $PLAYTIME $SONGTITLE ($SONGLEN) " | |
8 sleep 1 | |
9 printf "\r" | |
10 done |