view audtool/examples/np.sh @ 1965:b17f7a09fdd3 trunk

[svn] - add some more controls (seekbar and such)
author nenolod
date Sun, 12 Nov 2006 05:38:04 -0800
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)"