Mercurial > audlegacy
view audtool/examples/np.sh @ 2155:840263ee3a5c trunk
[svn] - fix the logic of bmp_playback_stop(). now JTF works well even if the playing is paused.
author | yaz |
---|---|
date | Mon, 18 Dec 2006 03:34:52 -0800 |
parents | 641ee4092aea |
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)"