view audtool/examples/np.sh @ 1248:6d9c45d157f9 trunk

[svn] - this is a hack until I find a better solution
author nenolod
date Thu, 15 Jun 2006 03:37:59 -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)"