view audtool/examples/np.sh @ 1532:f74a6ba233c2 trunk

[svn] - allow configdb::pnxmms::preset to set what pn preset to load on start
author nenolod
date Tue, 08 Aug 2006 02:19:55 -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)"