Mercurial > audlegacy
view src/audtool/examples/np.sh @ 4228:9f3cc7f3aaf6
update titles after 3 sec. delay when custom template changed
author | Eugene Zagidullin <e.asphyx@gmail.com> |
---|---|
date | Wed, 30 Jan 2008 20:32:50 +0300 |
parents | 3149d4b1a9a9 |
children |
line wrap: on
line source
#!/bin/sh SONGTITLE=$(audtool current-song) SONGELAPSED=$(audtool current-song-output-length) SONGLEN=$(audtool current-song-length) MIME=$(file -ib "`audtool current-song-filename`") echo "np: $SONGTITLE [$MIME] ($SONGELAPSED/$SONGLEN)"