view audtool/examples/np.sh @ 1900:ec5819b2fb69 trunk

[svn] - 1.2.0 final
author nenolod
date Tue, 24 Oct 2006 01:28:01 -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)"