view audtool/examples/np.sh @ 1200:6af3f8fb2ed0 trunk

[svn] - prepare to ship audtool with audacious SVN
author nenolod
date Tue, 13 Jun 2006 23:54:53 -0700
parents
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)"