Mercurial > audlegacy
view audtool/examples/infoline.sh @ 1325:4f7d6645972c trunk
[svn] Have period time default to 100ms to keep snd-aoa on PPC from going all clickety-click on us.
author | chainsaw |
---|---|
date | Fri, 23 Jun 2006 13:34:05 -0700 |
parents | 6af3f8fb2ed0 |
children |
line wrap: on
line source
#!/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