view audtool/examples/np.sh @ 1448:3b1c464cbbb0 trunk

[svn] Seems safer to me to free this way, assuming I'm not misreading. Hey. At least it doesn't crash.
author nemo
date Fri, 28 Jul 2006 07:21:20 -0700
parents 6af3f8fb2ed0
children 641ee4092aea
line wrap: on
line source

#!/bin/sh
SONGTITLE=$(audtool current-song)
SONGELAPSED=$(audtool current-song-output-length)
SONGLEN=$(audtool current-song-length)

echo "np: $SONGTITLE ($SONGELAPSED/$SONGLEN)"