view audtool/examples/np.sh @ 1892:9d53c0faac1b trunk

[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
author nenolod
date Mon, 23 Oct 2006 11:42:56 -0700
parents 641ee4092aea
children
line wrap: on
line source

#!/bin/sh
SONGTITLE=$(audtool current-song)
SONGELAPSED=$(audtool current-song-output-length)
SONGLEN=$(audtool current-song-length)
MIME=$(file -ib "`audtool current-song-filename`")

echo "np: $SONGTITLE [$MIME] ($SONGELAPSED/$SONGLEN)"