view audtool/examples/np.sh @ 2190:d618044d35e4 trunk

[svn] - Fix the number of analyzer bars drawn in shaded mode. - Fix doublesize for analyzer in shaded mode.
author nhjm449
date Fri, 22 Dec 2006 00:17:31 -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)"