Mercurial > audlegacy
view audtool/examples/infoline.sh @ 1484:57ac83a14503 trunk
[svn] use -1 to indicate "drop the original cue file, but silently error"
(not implemented in 1.1.x, but is backwards compatible -- also not yet implemented here. keyword YET)
author | nenolod |
---|---|
date | Thu, 03 Aug 2006 01:02:34 -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