view audtool/examples/np.sh @ 1784:641ee4092aea trunk

[svn] - allow the menurow to be set invisible - add mimetype to np.sh - revert js's change
author nenolod
date Wed, 04 Oct 2006 15:27:00 -0700
parents 6af3f8fb2ed0
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)"