view audtool/examples/np.sh @ 1317:a698348c5155 trunk

[svn] - libaac: potential buffer overflow vulnerability fix - libguess: build as a static library instead of installing as a shared object (via dai+audacious -at- vdr.jp)
author nenolod
date Mon, 19 Jun 2006 23:39:11 -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)"