view audtool/examples/np.sh @ 1788:80b6282a31ae trunk

[svn] - implement mainwinOthertextIsStatus property.
author nenolod
date Wed, 04 Oct 2006 18:48:49 -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)"