view audtool/examples/np.sh @ 1412:c6ac6c61a6fd trunk

[svn] - i think this works
author nenolod
date Sat, 15 Jul 2006 17:27:49 -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)"