Mercurial > audlegacy
view audtool/examples/infoline.sh @ 2015:200970e7a3b1 trunk
[svn] - run chardet against even valid UTF-8 strings, as they may be non-UTF-8
sequences encoded as UTF-8.
author | nenolod |
---|---|
date | Mon, 27 Nov 2006 15:38:11 -0800 |
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